Wednesday, May 25, 2016

Re: How to set Default value in Text Box?



On Wednesday, May 25, 2016 at 3:31:01 PM UTC+2, Manjunath K wrote:
How to set Default value in Text Box using GWT?

Assuming you mean setting a value that the box will reset to when used within a FormPanel and clicking on a ResetButton (I won't dive in here whether this is a good idea or not); I think you have no other way than InputElement.as(textBox.getElement()).setDefaultValue(…).

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment