Posted 12 October 2017, 6:14 am EST
Can I have read-only wj-combo-box that is also showing place holder when page loads?
If wj-combo-box has is-editable-“false” it is not showing place holder and is showing the first value on the list.
thank you
Forums Home / Wijmo / General Discussion
Posted by: bmakhlin on 12 October 2017, 6:14 am EST
Posted 12 October 2017, 6:14 am EST
Can I have read-only wj-combo-box that is also showing place holder when page loads?
If wj-combo-box has is-editable-“false” it is not showing place holder and is showing the first value on the list.
thank you
Posted 12 October 2017, 8:00 pm EST
Hi,
For this, you need to set isReadOnly to true and isRequired to false. Now, you can set the value to null or empty string.
In this case, if you set placeholder property, Control will show placeholder and control cannot be edited.
~Manish