I have the following construct to create a select:
Ext.create('Ext.field.Select',
{
renderTo: Ext.get("displaySizes"),
xtype: 'selectfield',
label: 'Sizes',
options: [
{
disabled: true //<- does not work
text: "36"
value: "1235"
},
{
disabled: false
text: "40"
value: "1234"
}
]
}
where I want to disable some options to show the user that they are there, but are not selectable.
Just as it would work using html:
<select>
<option value="1235" disabled="disabled">36</option>
<option value="1234">40</option>
</select>
Anyone able to help me out?
Thx