Skip to content

about vuetify #499

Answered by jourdain
ZzZuf asked this question in Q&A
Apr 17, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Please read the documentation. If you don't want the property disabled to be given a string but the value of an expression, you need to provide a tuple. Otherwise, we can not differentiate it from a string.

vuetify.VTextField(
   label="Length",
   v_model=('rectLength', AlgorithmParam.gethsapce()),
   disabled=('!customRect',) ,
   hint="Enter length",
   outlined=True,
   clearable=True,
)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jourdain
Comment options

@jourdain
Comment options

@ZzZuf
Comment options

@jourdain
Comment options

Answer selected by ZzZuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants