Patrick | Der Echte!
afterStateUpdated $old does not work after using Builder/Block
Hey,
i am currently trying to use
afterStateUpdated
on a TextInput
in combination with a Builder.
The resource i am working on does have a *title *and a *slug *attribute that i have implemented as described in the documentation as well as a Builder
.
My issue is that after i have used any field inside a Block
, the the $old
parameter of the afterStateUpdated
callback does equal the new value and not the old value. However, if i use any other field outside of the Builder
, like test, before i change the title, it does work again.
I am using the following code:
Any idea what could be wrong?4 replies