Text Item
Text Widget ************************* https://trac.smartms.streamwide.com/wiki/22/Backend_Spec_221/Storage_Template_JSON_Structure#text https://trac.smartms.streamwide.com/wiki/22/Backend_Spec_221/Storage_Template_JSON_Structure#textarea
JSON Structure: { "uuid": "1c2470b8-2394-4862-945c-3771db210d56", "type": "text", "label": "First Name", "help": "Type your first name here", "required": false, "maskEmpty": false, "gridLocation": { "rowNumber": 1, "startColumn": 1, "columnSpan": 2 }, "conditionalDisplay": null, "defaultValue": "", "autoCaps": 2, "hasValue": true, "unsupportedTypeValue": "" }, { "uuid": "1c2470b8-2394-4862-945c-3771db210d56", "type": "textarea", "label": "Info", "help": "Type your details here", "required": false, "maskEmpty": false, "gridLocation": { "rowNumber": 1, "startColumn": 1, "columnSpan": 3 }, "conditionalDisplay": null, "defaultValue": "", "lines": 7, "autoCaps": 0, "hasValue": true, "unsupportedTypeValue": "" }
Constructors
Types
Properties
Inherited properties
Functions
extract data from all fields of a widget.
Inherited functions
call back when Parent widget Visibility Changed need to set the parent visibility and recalculate the validity of the widget
notify all subscribers when data changed on the widget
update the visibility status and notify all subscribers about the visibility of the widget
called from the activity to add teh callback as subscriber note:subscribers is a Set so we don't need to test if the callback already exist