can i manipulate another form class like set('...')->extraAttributes(['class'=>'....']) ?

if i could i want to change a bg color
10 Replies
toeknee
toeknee11mo ago
No, you can us e->extraAttributes, so use to to define a custom class and custom css to target the extra class.
jepewsykes
jepewsykesOP11mo ago
ok i should use a custom css class then how to inject class to another field after state updated
toeknee
toeknee11mo ago
Just add the class with extra attributes?
jepewsykes
jepewsykesOP11mo ago
add attributes when field changed bro
toeknee
toeknee11mo ago
Think it'll take a closure? so use the closure method
jepewsykes
jepewsykesOP11mo ago
No description
jepewsykes
jepewsykesOP11mo ago
jepewsykes
jepewsykesOP11mo ago
i want change a bg color when data updated like that bro and adding some animation flashy bg
toeknee
toeknee11mo ago
Make the field live and have the closure on the extraAttrbutes
jepewsykes
jepewsykesOP11mo ago
okk thx u bro
Want results from more Discord servers?
Add your server