how to make loading state form when click something

Hello i want to make the repeater itemn have animation loading when this is clicked
Checkbox::make('isSame')
->fixIndistinctState()
->afterStateUpdated(function (Get $get, Set $set) {
$set('nameParticipant',$get('../../name'));
$set('genderParticipant',$get('../../gender'));
$set('emailParticipant',$get('../../email'));
$set('phoneNumberParticipant',$get('../../phoneNumber'));
$set('addressParticipant',$get('../../address'));
$set('instituteNameParticipant',$get('../../instituteName'));
})
Checkbox::make('isSame')
->fixIndistinctState()
->afterStateUpdated(function (Get $get, Set $set) {
$set('nameParticipant',$get('../../name'));
$set('genderParticipant',$get('../../gender'));
$set('emailParticipant',$get('../../email'));
$set('phoneNumberParticipant',$get('../../phoneNumber'));
$set('addressParticipant',$get('../../address'));
$set('instituteNameParticipant',$get('../../instituteName'));
})
thank you
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server