Skip to content

Is there any way to disable only some elements based on some condition ? #1305

Answered by kamerat
rajmondburgaj asked this question in Q&A
Discussion options

You must be logged in to vote

You can achieve this using a watcher;
Once the un-deletable is no longer in the array, overwrite array with previous value (the one where they are)
https://codepen.io/kamerat/pen/JjKVKoK

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sagalbot
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1305 on December 18, 2020 22:10.