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

Reserve bottom space in validation elements for error messages #2492

Open
wants to merge 1 commit into
base: v2.0
Choose a base branch
from

Conversation

falkoschindler
Copy link
Contributor

@falkoschindler falkoschindler commented Feb 1, 2024

In #2484 we noticed that input elements don't reserve bottom space for error messages, which should be the default. This PR makes sure this space is added. There's a "hide-bottom-space" prop if this is undesired. Because this might break existing layouts, this PR targets the v2.0 branch.

I just wonder if we should always reserve the space, or only if the validation is not None, i.e. a validation dictionary is given. 🤔


Update: There's another related discussion #2738.

@falkoschindler falkoschindler added the bug Something isn't working label Feb 1, 2024
@falkoschindler falkoschindler added this to the 2.0.0 milestone Feb 1, 2024
@rodja rodja changed the base branch from main to v2.0 February 3, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui.input validation will remain space after it's value was corrected
1 participant