-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[v1] QInput hide spacing for error-message before display #3880
Comments
+1 because of this line in QField that check if it has bottom slot maybe if the check on the |
feat(QInput/QSelect/QField): new prop (hide-bottom-space: Boolean) #3880 Will be available in beta.19 |
Works as described. Thank you! Just a minor nuance, if hint is null it still reserves space. Use case: a containing control with a prop for hint that defaults to null, the spacing is present even if nothing is provided in the prop.
|
Use |
Current behavior is if you have a validation rule, spacing below QInput is reserved for the message. If you have a list of QInputs, this creates inconsistent vertical spacing between then (the ones with rules and the ones without.)
Request: optionally be able to hide this whitespace until the error is displayed.
Suggestion: If this cannot be default behavior, please add a property to turn the default behavior off. Maybe "ReserveSpaceForErrorMessage" or something like that.
The text was updated successfully, but these errors were encountered: