Hi Guys,
I have a form the user needs to input, but the first value on the form is a "transaction ID". This is a database generated unique value and though I want it to be displayed, I don't want the user to edit it. I haven't found a readonly attribute in the form config itself, so instead I pass msg.ui_update.options through a change node. It works fine, except for the readonly part. Here is the first few (pertinent) lines of the msg object:
{
"type": "text",
"label": "Transaction No",
"key": "txNum",
"required": true,
"readonly": true
},
{
"type": "date",
"label": "Date",
"key": "txDate",
"required": false
},
{
"type": "time",
"label": "Time",
"key": "txTime",
"required": false
},
{
"type": "text",
"label": "License Plate",
"key": "txPlate",
"required": false
}
Changing the readonly attribute does nothing - I'm sure my error is going to be something elementary that I'm overlooking - any ideas?