Dropdown selection validation #2436
Replies: 3 comments 1 reply
-
Thanks for the suggestion, @me21! |
Beta Was this translation helpful? Give feedback.
-
It's not so easy, I tried class ValidationSelect(nicegui.elements.select.Select, nicegui.elements.mixins.validation_element.ValidationElement):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs) and then replace
If I swap the superclasses, I get no error, but no Select control is visible. |
Beta Was this translation helpful? Give feedback.
-
I just created PR #2498. |
Beta Was this translation helpful? Give feedback.
-
There is a validation feature for text input field. I thought it would be great to have a similar feature in dropdown selection component (and possibly other input controls). Thank you!
Beta Was this translation helpful? Give feedback.
All reactions