-
How to use a variable to set |
Beta Was this translation helpful? Give feedback.
Answered by
niutech
Oct 28, 2021
Replies: 1 comment 1 reply
-
It works, but you assign |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
halivert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It works, but you assign
true
orfalse
value toreadonly
, whereas it should betrue
orundefined
to remove the attribute. So type::readonly="readonly || undefined"