Make fields "maskable" #4550
-
Hey, I noticed that since v4.0 Nova Text fields are now copyable by using the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The XHR requests still need to download the "password"/"key" in plain text. Which exposes it to any Vue component that may have access to the field response object. |
Beta Was this translation helpful? Give feedback.
-
This is similar to #4230 Basically you do not always want the text to be copied to be the same as the displayed text. Same for the password / key situation described, you just want the displayed text and the copied text to be different. Hope this can be added! |
Beta Was this translation helpful? Give feedback.
I managed to get it fixed for my situation by using the
displayUsing()
chainable method.It looks like this in my case.
Unfortunately though, this callback that you need to pass to get to a value must NOT be empty. So in my case I had to insert one space.
You could make the callback return anything you like though in your case.