Show value in coral textfield only once
Hi,
I want to show the value in a Coral Text field only for the first time when the component is dropped and author opens the dialog. After first submit it should hold the value that has been authored in the dialog(any value or EMPTY).
Currently I am using value property to textfield and the behaviour is, if the author empty the field value and submit the dialog, on dialog re-open the filed is being populated with value that has been set in dialog properties.
Is there a way that we can set the default value only once for the first time? I don't see the defaultValue property in the documentation.
TextField — Granite UI 1.0 documentation
Field — Granite UI 1.0 documentation
Thank you.
-AG
