You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, related to #79 I have encountered a strange behaviour while testing.
This could be a bug.
On page 1 I have a checkbox field (field_a) with radio button values yes/no.
On page 2 I have an explanation element that just prints out the value of field_a: Field Value: {{mp_forms::ID::field_value::field_a}} (ID is the form ID)
That updates correctly if I go back to page 1, change field_a and return to page 2.
On page 2 I also have a text field (field_b) with a standard value of {{mp_forms::ID::field_value::field_a}} defined with the standard backend field in contao.
However the standard value of field_b doesn't get updated stepping back, change field_a and return to page 2.
If I use an individual template for the text field where the insert tag is hard coded into the value attribute of the text field the update of the value works as expected and mirrors the update from the explanation field.
Are insert tags used as standard values of form fields handled differently to being used in templates or explanation fields?
The text was updated successfully, but these errors were encountered:
Hi, related to #79 I have encountered a strange behaviour while testing.
This could be a bug.
On page 1 I have a checkbox field (field_a) with radio button values yes/no.
On page 2 I have an explanation element that just prints out the value of field_a:
Field Value: {{mp_forms::ID::field_value::field_a}}
(ID is the form ID)That updates correctly if I go back to page 1, change field_a and return to page 2.
On page 2 I also have a text field (field_b) with a standard value of {{mp_forms::ID::field_value::field_a}} defined with the standard backend field in contao.
However the standard value of field_b doesn't get updated stepping back, change field_a and return to page 2.
If I use an individual template for the text field where the insert tag is hard coded into the value attribute of the text field the update of the value works as expected and mirrors the update from the explanation field.
Are insert tags used as standard values of form fields handled differently to being used in templates or explanation fields?
The text was updated successfully, but these errors were encountered: