Skip to content

Commit

Permalink
minor #1086 [Site] Use new symfonycasts/dynamic-forms for dependent f…
Browse files Browse the repository at this point in the history
…ields (weaverryan)

This PR was squashed before being merged into the 2.x branch.

Discussion
----------

[Site] Use new symfonycasts/dynamic-forms for dependent fields

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Tickets       | None
| License       | MIT

After `@bendavies` solved the form event puzzle of handling multiple levels of dependent form fields, we set out to try to create a library to wrap that complexity. I'm pretty darn excited to announce a v0.1.0 version of that! https://github.com/SymfonyCasts/dynamic-forms - which works especially great with live components.

The library may have edge cases and might change - but a good first step for exposure is to use it in our demo. It works GREAT (even better than the old implementation, where a validation error was sometimes triggered that we didn't want!).

Cheers!

Commits
-------

0722f74 [Site] Use new symfonycasts/dynamic-forms for dependent fields
  • Loading branch information
weaverryan committed Sep 7, 2023
2 parents 19feb79 + 0722f74 commit 14ca824
Show file tree
Hide file tree
Showing 3 changed files with 558 additions and 551 deletions.
1 change: 1 addition & 0 deletions ux.symfony.com/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"symfony/ux-vue": "2.x-dev",
"symfony/validator": "^6.3.1",
"symfony/yaml": "^6.3.0",
"symfonycasts/dynamic-forms": "^0.1.0",
"symfonycasts/sass-bundle": "^0.2.0",
"twbs/bootstrap": "^5.3",
"twig/extra-bundle": "^2.12|^3.6.1",
Expand Down
Loading

0 comments on commit 14ca824

Please sign in to comment.