packagist symfony/webpack-encore-bundle v1.15.0
Form-Friendly stimulus_* Functions!

latest releases: v2.2.0, 2.x-dev, dev-allow-entrypoints-file-to-be-hosted-remotely...
2 years ago

Hi Webpackers!

This release makes stimulus_controller(), stimulus_action() and stimulus_target() much more user-friendly when you either (A) need to add multiple controllers/actions/targets or if you want to pass a controller/action/target into Symfony's form system. For example:

{{ form_row(form.password, {
    attr: stimulus_action('hello-controller', 'checkPasswordStrength').toArray()
}) }}

How cool is that?

Feature

  • #178 - Add Stimulus Twig filters, handle action parameters & allow filters/functions to return array - @jmsche

Diff: v1.14.1...v1.15.0

Happy packing!

Don't miss a new webpack-encore-bundle release

NewReleases is sending notifications on new releases.