We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a5d9df commit b67bfc8Copy full SHA for b67bfc8
src/TogglePassword/doc/index.rst
@@ -275,6 +275,10 @@ You can also use the TogglePassword with native HTML inputs:
275
name="password"
276
type="password"
277
{{ stimulus_controller('symfony/ux-toggle-password/toggle-password', {
278
+ {# visibleLabel: 'Show password', // If you want to modify this label. #}
279
+ {# visibleIcon: 'Some svg icon', // If you want to modify this icon. #}
280
+ {# hiddenLabel: 'Hide password', // If you want to modify this label. #}
281
+ {# hiddenIcon: 'Some svg icon', // If you want to modify this icon. #}
282
buttonClasses: ['toggle-password-button'], // Add as many classes as you wish. "toggle-password-button" is needed to activate the default CSS.
283
}) }}
284
>
0 commit comments