The ExtJS framework has not been learned or used. I only know that it is a popular front-end framework, which is similar to Easy UI, BUI, DWZ and other frameworks, but it is more powerful than them. I think it is very helpful to write this.
Today, my friend encountered a problem: how to set the drop-down list in ExtJS that is not editable. It cannot be edited in html, but now the drop-down list boxes in this UI framework can be edited. My friend’s needs are the same as in html. So my friend thought of using the editable attribute, but after writing this attribute, it reported an error. I didn’t read the error at that time. I found him a property that is set to not editable, but it still didn’t work. I looked up the error again, checked the API, and finally solved this problem.
The error reported is as follows:
The roughly means: if typeAhead is available, the editable property of this drop-down list box must also be set true.
typeAhead is false by default, as if it is set to true, so the solution is to set both properties to false.
Right now:
typeAhead:false,
editable:false
Hope it can help people in need.