You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If those packages are missing, the toggle still works but icons are omitted; see [docs/INSTALLATION.md](docs/INSTALLATION.md#missing-icon-packages-runtime-behaviour).
Copy file name to clipboardExpand all lines: demo/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -365,7 +365,7 @@ If Composer reports that the path repository has higher priority but `dev-main`
365
365
Demos require **symfony/ux-icons** and **symfony/http-client** (matching the demo Symfony major). After `composer install`, lock the default tabler icons:
Composer `auto-scripts` in each demo run this on `post-install-cmd` / `post-update-cmd`. If icons are still missing, ensure `assets/icons/tabler/eye.svg` and `eye-off.svg` exist (copy from `.symfony/recipes/nowo-tech/password-toggle-bundle/1.2.3/assets/icons/tabler/` in the bundle repo) and check `config/packages/ux_icons.yaml`.
@@ -29,9 +29,11 @@ Use a constraint such as `^1.0` to stay on the current major version.
29
29
If you use Symfony Flex, the bundle is registered automatically, configuration is created at `config/packages/nowo_password_toggle.yaml`, **symfony/ux-icons** and **symfony/http-client** are added, and tabler icons are copied under `assets/icons/tabler/`. Run after install:
4. **Create configuration** (optional). Create `config/packages/nowo_password_toggle.yaml` with your preferred defaults. See [CONFIGURATION.md](CONFIGURATION.md) for all options.
@@ -88,7 +90,7 @@ If `symfony/ux-icons` or `symfony/http-client` is not installed:
88
90
- **dev**: toggle works; a small `[icons missing]` hint is shown instead of icons.
89
91
- **prod**: toggle works without icons (no uncaught exception from `ux_icon()`).
90
92
91
-
To restore icons, install both packages and run `php bin/console ux:icons:lock tabler:eye tabler:eye-off`, or override the form theme to avoid `ux_icon()`.
93
+
To restore icons, install both packages and run `php bin/console ux:icons:lock`, or override the form theme to avoid `ux_icon()`.
0 commit comments