-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
area/login/uikind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugrelease/26.3.0team/core-clients
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
login/ui
Describe the bug
For my theme which adapts the keycloak.v2 login theme I set kcCheckboxInputClass
in my theme.properties file, but classes are not applied to the checkbox in the password reset and change password forms.
Version
26.2.4
Regression
- The issue is a regression
Expected behavior
When I create a css class my-checkbox
with checkbox color green and I declare kcCheckboxInputClass=my-checkbox pf-v5-c-check__input
in theme.properties
, I expect the checkbox to be green.
Actual behavior
Checkbox does not turn green because custom classes are not applied in password reset/change forms.
How to Reproduce?
- Create a theme with
kcCheckboxInputClass=my-checkbox pf-v5-c-check__input
intheme.properties
. - Add CSS to theme:
.my-checkbox {
accent-color: green !important;
}
- Start keycloak with theme
- See that checkbox in login form is now green
- Go on to reset/change password
- See that checkbox is not green in reset/change form because class was not applied
Anything else?
Link to relevant template line:
<input class="pf-v5-c-check__input" type="checkbox" id="logout-sessions" name="logout-sessions" value="on" checked> |
Metadata
Metadata
Assignees
Labels
area/login/uikind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugrelease/26.3.0team/core-clients