Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't set required and aria-required for attributes with conditional presence validators #685

Conversation

AndersGM
Copy link
Contributor

After the nice addition in: #664 I've run into issues with attributes that have conditional presence validators (:if and :unless). This PR fixes that, so the required HTML-attributes are only added when we are sure the attributes are always required.

@donv donv merged commit cd512e3 into bootstrap-ruby:main May 24, 2023
@donv
Copy link
Collaborator

donv commented May 24, 2023

Thanks!

@AndersGM AndersGM deleted the dont-show-conditional-presence-validators-as-required branch May 24, 2023 11:58
@AndersGM
Copy link
Contributor Author

@donv Would it be possible to make a new release with this fix? :-)

@donv
Copy link
Collaborator

donv commented May 28, 2023

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants