Skip to content

Conversation

@jeremystretch
Copy link
Member

Fixes: #18916

This tweaks the CSS so that the .ts-wrapper containers corresponding to each invalid <select> field with .is-invalid applied get the same styling.

Note: I wasn't able to fix the display of the invalid-feedback element beneath the field due to limitations in how Bootstrap implements this. (The <div> needs to immediately follow the offending <select>, which is not possible with the current widget layout.)

@jeremystretch jeremystretch requested review from a team and bctiemann and removed request for a team August 25, 2025 20:00
@bctiemann bctiemann merged commit 1c1073e into main Aug 26, 2025
10 checks passed
@bctiemann bctiemann deleted the 18916-TomSelect-invalid-styling branch August 26, 2025 15:47
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DynamicModelChoiceField doesn't render error message on submit

3 participants