Show/hide toggle for input fields containing sensitive data
It'd be great to have a built-in way of adding a show/hide toggle to input fields (screenshot attached). This is useful for sensitive data that needs to always be accessible in the form but that you don't want displayed by default.
6 Replies
Should be relatively easy with a
suffixAction()
, but would be cool to have as a pluginNever mind, looks like there's already a PR for this: https://github.com/filamentphp/filament/pull/7492
GitHub
Feature: revealable password fields by Stichoza · Pull Request #749...
Changes have been thoroughly tested to not break existing functionality.
New functionality has been documented or existing documentation has been updated to reflect changes.
Visual changes are ex...
Almost a month later and not murged. Would be faster to build your own for now by adding suffix action and changing type
is there a way to do this not only for password, for others as well? like email or phone numbers?
need to hide for the last 6 characters
possible. but create your own #❓┊help thread