I have a select control in a repeat with this expression: dmx-on:changed="dd_products.select(value);inp_UnitPrice1.setValue(dd_products.data.UnitPrice)"
And it doesn’t work. If I change ‘value’ inside the parenthesis to a hard-code value (i.e 10 or 14, etc) it works for that value.
This works: dmx-on:changed="dd_products.select(10);inp_UnitPrice1.setValue(dd_products.data.UnitPrice)"
Any ideas why this isn’t working or what the correct expression should be?
I’m wanting the UnitPrice to be filled in when the user selects a product.
I have a Data Detail that has a data source from the Products server connect and the key is the ProductID. This should correspond to the ProductID from the dropdown. If I hard code the value in, it works as expected, it’s just not picking up the correct value from the control.