The 'toggle-password-visibility' preset flips the input's type attribute between 'password' and 'text'. The button addon writes to a per-field type-override signal provided by the adapter; the input reads the override when computing its effective type. Click the eye icon below to see the value reveal, then click again to hide.
Live Demo
What to read next
- Presets and Actions: the full preset table and
actionRefrecipe for registered handlers. - Addons / Overview: addon kinds and slots primer.