View Poll Results: Should this functionality be implemented?

Voters
1. You may not vote on this poll
  • TOTALLY

    1 100.00%
  • NOPE

    0 0%

Threaded View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    13
    Vote Rating
    1
    axeff is on a distinguished road

      0  

    Default Answered: How to disable an option in Ext.field.Select?

    Answered: How to disable an option in Ext.field.Select?


    Hi there,

    I have the following construct to create a select:

    Code:
    Ext.create('Ext.field.Select',
    {
        renderTo: Ext.get("displaySizes"),
        xtype: 'selectfield',
        label: item.label,
        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:

    HTML Code:
    <select>
      <option value="1235" disabled="disabled">36</option>
      <option value="1234">40</option>
    </select>
    Anyone able to help me out?

    Thx

  2. You would need to add some select listeners to the list or slots with order before and return false. You would also have to style an option that is disabled.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi