-
PackagePanel builder Package Versionv4 How can we help you?I have a form where the value of a field (let's call it "A") in the main form is dependent on the value of a field within a 1:1 relationship (let's call it "B") in such a way that the value of field "A" needs to be adopted before saving. My form has a
Another solution I could think of would be to not use the "relation" feature of the Section at all, and use (I really need to have the correct value before the entity is being saved, because the DB has a trigger that listens for the stored value. So I can't simply add one value and later save it again with another one.) Please could somebody point me in the right direction? :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Nevermind... I can access the relationship's form fields by injecting the Most of the times the solutions pop up right after sending the call for help ;-) |
Beta Was this translation helpful? Give feedback.
Nevermind... I can access the relationship's form fields by injecting the
Get $get
parameter intodehydrateStateUsing()
and using dot-notation to access the field like so:$get('relation.field')
Most of the times the solutions pop up right after sending the call for help ;-)