13 Mar 2013 11:01 AM #1
Unanswered: How to clear a selectfield value when placeholder is selected in Sencha Touch 2
I am using the ST2 selectfield with some values loaded from a store. This selectfield also has a placeholder applied to it. I would like the selectfield value to be reset when the user selects the placeholder item. But, after the user makes an initial selection, the placeholder text disappears and is NOT accessible again.
How can I get the placeholder text to return? Also, how can I reset the value of the selectfield when the user selects the placeholder text again.
15 Mar 2013 7:30 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
What do you mean select the placeholder?Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
24 Feb 2014 4:28 AM #3
Hi I m facing same problem. I want to reset selected value from selectfield. When i choose value the change event is firing but again i select same value event is not firing. that why want to reset select fileld