Adding into documentation for "close" functions #355
Replies: 1 comment
-
ok, use the data close with caution, there is alot of JS uncertainty. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I think the following addition to the documentation will be great for the community.
Users using the MODALS as forms need to utilise the 'close' to call reset fields/validations.
include the following code in your modals to utilise the 'close' calling:
<flux:modal.data['close'] wire:click="your livewire functions to call"/>
each of the modals are islands on their own, will not cross contaminate the calling of different functions.
Happy coding my friends
Beta Was this translation helpful? Give feedback.
All reactions