Good day good people,
I have been struggling all day, and just cant figure out why this is happening, I am unable to set an input field value from a page variable.
I am able to set an input field label and set a drop down field value, but input field value just not working.
I get a Page paramater and set page variable on Page mount, and toast out both values, so I know the page variable is set to what it needs to be.
I have changed the page variable value type from text to text/number and back, but cant figure it out.
The drop down field selected value gets set (labled Type in screenshot) gets set though…
What the content type you are trying to bind? Make sure to set the same type in both page parameter and the variable, an other way is using formula in the input field value to bind to pageVars.contactDetailsNew, if the window change the color to red there is something wrong, if don’t, everything is ok to test it.
To double check if it’s really binded, you can put a text component and bind it to the same variable as the input field, so when the variable receive the value you’ll know, also you can bind the placeholder text.
Hope it helps!
thanks for the response @Joseph_Rezende, the content type is set as text, for both paramenter and variable.
And I am able to bind to a text field:
That is why it does not make any sense to me.
Binding to placeholder text works:
and confirmed now this is happening on all the pages of my application
If you load the page and type something in the input field the text bellow refresh with the text you typed? if yes, try to delete the page and create a new one, maybe it’s some bug with this page, i’ll test the same situation here to see if i get the same result.