You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
Add modifier which disables html elements that can take the disabled attribute, e.g.: input, button
It would look like <input v-can.disable="edit-post" />
meaning if the user cannot edit-post, the input is disabled
This discussion was converted from issue #9 on January 27, 2021 15:49.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
Add modifier which disables html elements that can take the
disabledattribute, e.g.: input, buttonIt would look like
<input v-can.disable="edit-post" />meaning if the user cannot edit-post, the input is disabled
Beta Was this translation helpful? Give feedback.
All reactions