File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ shown in previous sections:
272272
273273.. code-block :: html+twig
274274
275- // ...
275+ {# ... #}
276276
277277 {# add "toggle-password-container" or a class that applies "position: relative" to this container #}
278278 <div class="toggle-password-container">
@@ -282,10 +282,10 @@ shown in previous sections:
282282 name="password"
283283 type="password"
284284 {{ stimulus_controller('symfony/ux-toggle-password/toggle-password', {
285- # visibleLabel: 'Show password',
286- # visibleIcon: 'Name of some SVG icon',
287- # hiddenLabel: 'Hide password',
288- # hiddenIcon: 'Name of some SVG icon',
285+ visibleLabel: 'Show password',
286+ visibleIcon: 'Name of some SVG icon',
287+ hiddenLabel: 'Hide password',
288+ hiddenIcon: 'Name of some SVG icon',
289289 # you can add your own CSS classes if needed, but the following
290290 # CSS class is required to activate the default styles
291291 buttonClasses: ['toggle-password-button'],
You can’t perform that action at this time.
0 commit comments