Skip to content

Readonly doesn't work #99

Answered by niutech
halivert asked this question in Q&A
Oct 26, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

It works, but you assign true or false value to readonly, whereas it should be true or undefined to remove the attribute. So type: :readonly="readonly || undefined"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@halivert
Comment options

Answer selected by halivert
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