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
blink6mo ago
they say in docs - programaticly setting values wont trigger afterStateUpdated()
czehnter
czehnterOP6mo ago
Ah it actually does. Thanks, I somehow missed that. Is there any other way to do this apart from using afterStateUpdated()?
blink
blink5mo ago
Depends on what you need to achieve within afterStateUpdated() method
Matthew
Matthew5mo ago
Set it in the original update field.

Did you find this page helpful?