Opened 11 months ago
Last modified 3 weeks ago
#8986 new defect (bug)
Register page input values display in invalid state by default
Reported by: | vapvarun | Owned by: | |
---|---|---|---|
Milestone: | 15.0.0 | Priority: | normal |
Severity: | normal | Version: | 11.3.1 |
Component: | Templates | Keywords: | |
Cc: |
Description
When validating registration fields, the invalid CSS class is applied on the first load of the registration form, even before filling in any values.
.buddypress-wrap .standard-form input[required]:invalid, .buddypress-wrap .standard-form select[required]:invalid, .buddypress-wrap .standard-form textarea[required]:invalid { border-color: #b71717; }
buddypress/bp-templates/bp-nouveau/css/buddypress.min.css
We can replace it with the following to set the default when nothing is filled.
.buddypress-wrap .standard-form input[required], .buddypress-wrap .standard-form select[required], .buddypress-wrap .standard-form textarea[required] { border-color: #d6d6d6;; }
After submitting values, we already have a different CSS object for the invalid one.
.buddypress-wrap .standard-form input.invalid[required], .buddypress-wrap .standard-form select.invalid[required], .buddypress-wrap .standard-form textarea.invalid[required] { border-color: #b71717; }
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Register page with default theme