aerni / statamic-livewire-forms

Supercharge your Statamic forms with Livewire
https://statamic.com/addons/aerni/livewire-forms
Other
28 stars 2 forks source link

Deprecate realtime feature #44

Closed aerni closed 11 months ago

aerni commented 11 months ago

This PR deprecates the opinionated realtime feature and uses Livewire's approach to real-time validation instead.

To validate a field in real-time, you should add wire_model: blur or wire_model: live to its blueprint config. Which one you choose depends on the desired behavior.

You can also add modifiers like debounce and throttle, e.g. wire_model: live.debounce.250ms.