We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If there is .tailwind() being used, you cannot set any values to an element. This is a consistent error when trying to do something like this:
.tailwind()
name = ui.input('Name').tailwind('capitalize') name.value = ''
You have to workaround it like this:
style = Tailwind().font_size("xl") title = ui.label('Title') style.apply(title)
The text was updated successfully, but these errors were encountered:
Yes that is expected behaviour. You should use the .element property of the Tailwind object:
.element
name = ui.input('Name').tailwind('capitalize').element name.value = ''
Sorry, something went wrong.
No branches or pull requests
Description
If there is
.tailwind()
being used, you cannot set any values to an element.This is a consistent error when trying to do something like this:
You have to workaround it like this:
The text was updated successfully, but these errors were encountered: