Dynamic text input value
I have the following form:
I want my code field's value change when the
year
and name
input gets a value. If the year
and name
input is empty I want to show nothing. How can I achieve this?6 Replies
Unknown Userβ’2y ago
Message Not Public
Sign In & Join Server To View
Doesn't seem to work
dude your doing it in reverse.. it should be
afterStateUpdate()
but you need to change the state from year
and/or name
to trigger the state change. fields can't listen to other fields' state changes only there own but you can change a field's state from another field.yeah afterStateHydrated() only runs when the form is loaded
Okay I'm gonna try this, thanks.
here you go... just adjust how you wanna manipulate it. don't try... just move on to the next thing π