the issue i'm facing is it works only one time and need to refresh the page to work again,
i'm not really familiar how the flash works but is there any hint to make it works in every click or to be more specific works with every request made flashing this message ?
@karimali1337 well, you do.. but once you set the alpine part to false there is no way it get's reset. So if you add a text within the @if and outside of the <div x-data element you will see the text each time.
@karimali1337 what I am saying is that this x-data will be initialized only the first time you open the page, so only once the show is equal to true and then only once is set to false and it never refreshes.