Is there is a way to add loader or spinner in reactive fields ?

i am using reactive function for fields to visible on specific state value when i select the values using ->visible() to show hide input. fields it take little bit time to show fields i want to add the loader or spinner so the user understand easily ?
5 Replies
Dan Harrin
Dan Harrin15mo ago
that is very very slow we dont have a loading spinner for fields yet, but maybe work on getting the speed improved make sure that you run blade-icons:cache for example
toeknee
toeknee15mo ago
Dan, can't we append attributes for the loading and say set opacity to 20 when loading?
Dan Harrin
Dan Harrin15mo ago
probably extraAttributes(['wire:loading.class' => 'opacity-70'])
toeknee
toeknee15mo ago
Exactly on the form is what I was thinking
Ali Abbas
Ali Abbas15mo ago
@danharrin this help little bit thanks
Want results from more Discord servers?
Add your server
More Posts