Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SelectItem in GWT is behaving as text field in IPAD/Safari browser only

 
vikky karu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SelectItem in GWT is behaving as text field in IPAD/Safari browser only. And the typed text is displaying in the hint dialog which is shown in the attached file.
But this type of odd behavior is not appearing in any other browsers and other OS. Please show some light on this IPAD/Safari issue.

Working on the following versions.
Mac OS X - 10.7.5
iPad Simulator - 6
Safari - 6
gwtVersion -2.1.1
smartgwtVersion-2.4


Untitled.png
[Thumbnail for Untitled.png]
 
vikky karu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After doing a vigorous research found the below solution and solves the problem.

yourFormItemVarable.setAttribute("editorType", "CheckboxItem");
yourFormItemVarable.setAttribute("editorType", "SelectItem");
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic