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

AttributeError: 'Select' object has no attribute 'validation' #2641

Closed
CrystalWindSnake opened this issue Feb 29, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@CrystalWindSnake
Copy link
Contributor

CrystalWindSnake commented Feb 29, 2024

Description

ui.select(["a", "b"], value="")

error message

AttributeError: 'Select' object has no attribute 'validation'. Did you mean: 'validate'?
@falkoschindler falkoschindler added the bug Something isn't working label Feb 29, 2024
@falkoschindler falkoschindler self-assigned this Feb 29, 2024
@falkoschindler falkoschindler added this to the 1.4.18 milestone Feb 29, 2024
@me21
Copy link
Contributor

me21 commented Feb 29, 2024

I've just hit the same problem :)
Adding validation doesn't help.

@falkoschindler
Copy link
Contributor

Oh wow, this bug seems to have been introduced by a3fae1d70fa36e33283ff92eefe6eea294c438a0, when we added validation to ui.select in version 1.4.14.

@WolfgangFahl
Copy link

WolfgangFahl commented Mar 7, 2024

Please release 1.4.8 since this issue breaks downstream components and i couldn't find a solution for WolfgangFahl/nicegui_widgets#64 - i am stuck between a rock and a hard place now since there are already adaptions to other changes in the nicegui_widgets (e.g. ag_grid) and there is no proper way back any more.

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

No branches or pull requests

4 participants