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

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