Default Value of Dropdown , not working when inplaceediting
Hi All
I have a component which has two tabs
Tab 1 - RTE
Tab 2 - A dropdown with some values, let's say 1,2,3,4,5
For me 5 is the default value which the author should see when he opens the dialog. So I have set selected=true on this value
Now I have inplaceediting enabled for the RTE. I have two issues which I need to solve
- When the author edits the dialog only via inplaceediting , the dropdown value is not set.
- After inplace editing , when I open the dialog using wrench icon , I see the dropdown value is 1 and not 5 ( which is not my default value but the first value in the order of values are added).
Am I missing something here ? Any help is appreciated
edit :- the issue I am trying to tackle here is when author edits component via pencil (inplaceediting), basically he changes the text field alone, but when he open the dialog next time via wrench icon, he see that the dropdown is set to 1 instead of 5 (which as per him should not have changed unless he changed it ) . I understand that the defaultValue won't work when the component is authored already , but what I am trying to get a solution here is to either set the dropdown property to the backend when the user edits the component via pencil, so that when he opens the dialog next time , he see the default value
TIA
Veena ✌
