ganucoding
Why Select multiple & TagsInput afterStateUpdated() not triggering
- I'm trying to wire:model.blur my users field using Select()->multiple()->options([])->live(onBlur: true)->afterStateUpdated().
- I tried live(onBlur: true)->afterStateUpdated() using other input like TextInput, Select (single option), Radio. And those inputs work just fine.
- Example of working code (using TextInput):
when I un-focus the name field, it will run the afterStateUpdated method and save the updated data in db.
- NOT WORKING:
afterStateUpdated method not even triggered, when I select/deselect. Nothing seems to work.
Any suggestions?
9 replies