Remove typing cursor from combobox

后端 未结 3 1024
一生所求
一生所求 2020-12-18 01:15

I am using an ExtJS combobox. There is a typing cursor when focusing on the combobox. I tried to implement editable: false when creating the combobox, but it he

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-18 02:04

    Try -

    For IE

    combo.inputEl.set({disabled:'disabled'});

    For Firefox -

    combo.inputWrap.set({disabled:'disabled'});

    For Chrome -

    combo.inputCell.set({disabled:'disabled'});

    This work fine.

提交回复
热议问题