using "On Value Changed" yields old value

I have an Input Field and am tryign to detect the value changed to make a button become clickable depending on the text value.

Adding functions to OnValueChanged list from the Input Field, both checking the Argument from Value changed and checking Value in the Text field yields the old value (e.g. if I type 1 on my keyboard it shows me “”, if I type 2 after that it shows me “1”).

Is this an intended feature and how can I get the changed value after it has actually changed?

Can’t you simply call inputfield.text in order to get the new value instead of using the parameter of the callback?