I am attempting to update the value of a button based of the value of a custom ID from a form that I have in ignition, I have a query in the root of my ignition project that brings in the data that I need, but I am unsure how to do this correctly, any suggestions?
Is this Vision or Perspective?
Perspective
Buttons don't have a value
property. Do you mean something else such as the button's props.text
?
correct prop.text
The red arrow from picture 1 is what I am using to determine what value from my root table query I will use find to get the correct data to fill into picture 2(yellow arrow) text area of the button
Assuming that your ID value is on the parent container then you just create a property binding to that custom property.
- Create a binding on your button
props.text
. - Select Property binding.
- Point it to wherever the value is stored.
- The result.
Good, but why don't you write directly to the button's props.text
instead of to the view's props.custom.id
and then the additional binding on props.text
?
Don't forget to mark this thread as solved.