Triggering afterStateUpdated() with $set()?

Hi, I'm trying to to use the afterStateUpdated() method on a TextInput Field, that has been updated/filled by the $set() method from another field. Updating the value using $set() does not seem to trigger the afterStateUpdated() method (unless I'm doing something wrong). Is this not possible? Or how can I achieve this?
5 Replies
blink
blink5w ago
they say in docs - programaticly setting values wont trigger afterStateUpdated()
plaete_
plaete_5w ago
Ah it actually does. Thanks, I somehow missed that. Is there any other way to do this apart from using afterStateUpdated()?
blink
blink4w ago
Depends on what you need to achieve within afterStateUpdated() method
Matthew
Matthew4w ago
Set it in the original update field.
Want results from more Discord servers?
Add your server