Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉如何在 extjs 中为组合框带上不带冒号的 fieldLabel
谢谢
使用 labelSeparator : "" 组合框的配置来解决问题。
参考下面的例子
Ext.create('Ext.form.ComboBox', { fieldLabel: 'Choose State', store: states, queryMode: 'local', displayField: 'name', valueField: 'abbr', labelSeparator : "", renderTo: Ext.getBody() });
谢谢,肯定会奏效的。