Text box not updating properly

I am getting data back from a rest-erp widget. One property I am returning is “outputPN”. It is a concatenation of each the “PartNumber” properties. All was going well until I tried to use the “property-set” widget to set the value of a text box to the returned “outputPN” property value. It works on the first “property-set” but afterwards it does not change(see video velow). Not sure what I am doing wrong.

braillePartNumbers

dialog box widget

property-set
image

event

data from rest function

{
	"outputDS": {
		"BrailleItems": [
			{
				"Type": "SQUARE",
				"Material": "SS #4",
				"Marking": "*L",
				"PartNumber": "39881469"
			},
			{
				"Type": "SQUARE",
				"Material": "SS #4",
				"Marking": "*GROUND",
				"PartNumber": "39881467"
			}
		]
	},
	"error": null,
	"outputPN": "39881469~39881467"
}

You should be using the row-update widget, not property-set.

Property-set is meant to change the properties on the control such as “Read Only”, etc.

That worked. When I see “row-update” I think of a grid or something. Thanks!

1 Like