Hi ,
I need to set default value for text field in TouchUI. I can handle this requirement in classic ui by defaultValue property but in TouchUI defaultValue property is not working.
Please suggest what is the substitute of defaultValue property in TouchUI, how can i set default value in touchui.
Thanks,
Views
Replies
Total Likes
Hi
Use "value" property like "defaultValue" for touch UI.
thanks its working now by "value"
In Touch UI - you work with Granite Resource types. TO make a default value - for example - a text field - you use the value field as discussed here: TextField — Granite UI 1.0 documentation
If you are not too familiar with using Granite types (new to AEM or coming from older versions that uses XTYPES) - then watch this Guided Journey on the subject -- Scott's Digital Community: Guided Journey for Using Granite Resources Types in Experience Manager Co...
Hi,
Try using emptyText property to populate the text field with default value
Views
Likes
Replies