PDA

View Full Version : Pickerfield with readOnly property is not displaying the trigger button



himalpatel
29 Oct 2012, 6:59 AM
Hi,
I am using PickerField (textbox with a button) which work like a lookup in my application.
Now when i am applying "readOnly" property as "true" ,then it is not working the button which is used to trigger the event get disappear's (hideTrigger.).
How can i apply readOnly property on PickerField without disappearing that button which is used as a "Trigger".
I want that user should not be allowed to enter any value in textbox, should be allowed to click that button next to that textbox.(The value of the textbox will be filled by clicking that button.).
Thank You

tvanzoelen
29 Oct 2012, 7:58 AM
If you do not want the picker to be editable you can try the editable property


editable : false

the readonly property is not needed that way.

himalpatel
30 Oct 2012, 7:48 AM
I have already tried editable:false . In my code but still it was not working.