Cloetn
2 May 2011, 6:35 AM
Hi,
On top of my website I have a form searchfield. It stays there for the whole duration of your visit. On the bottom I have several tabs.
Now everytime I click a tab I want to change the text of the placeHolder of that searchfield.
- There isn't any function like .setPlaceholder().
- You can change it with just saying: yourseachfield.placeHolder = "new Text". If you place the searchfield component in console.log then you can see it has changed but it didn't change on screen. Even after a doLayout() the thing doesn't change on the screen.
Any idea's?
On top of my website I have a form searchfield. It stays there for the whole duration of your visit. On the bottom I have several tabs.
Now everytime I click a tab I want to change the text of the placeHolder of that searchfield.
- There isn't any function like .setPlaceholder().
- You can change it with just saying: yourseachfield.placeHolder = "new Text". If you place the searchfield component in console.log then you can see it has changed but it didn't change on screen. Even after a doLayout() the thing doesn't change on the screen.
Any idea's?