Lockable fields #2239
Unanswered
mrextreme
asked this question in
Feature Requests
Lockable fields
#2239
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Locking a field - toggling the readonly attribute to stop users changing the value by accident, forcing them to click on a lock icon first. A "lockable" attribute on flux:input.
<flux:input type="password" wire:model="some_password" viewable copyable lockable>By the look of it a modified version of the viewable attribute would do the trick. Below is my implemetation for anyone interested, using Alpine.js and current Flux UI features.
Beta Was this translation helpful? Give feedback.
All reactions