Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8741429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:18:51+00:00 2026-06-13T11:18:51+00:00

I have the following construct to create a select: Ext.create(‘Ext.field.Select’, { renderTo: Ext.get(displaySizes), xtype:

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:18:52+00:00Added an answer on June 13, 2026 at 11:18 am

    I tried it by myself but i guess there is no easy way to do this becuse “disable” is not a property of the option and there is no built in way to do this.

    It is possible to disable the field in total but the option itself is no component and has no more options than value and text.

    You would have to edit the pickers used for a selectlist. And there is more than one (Tablet Picker, PhonePicker, …)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following: <%= f.select :phase_names, options_for_select([RFP Stage, Pre Contract, Awarded, Unsuccessful, Completed]),
I have the following code that is able to create a class that has
I have the following in my PHP query: SELECT tags.tag, theValues.* FROM ch09.tbl_tags tags
I have a case where I need to construct following structure programmatically (yes I
I have a SQL database table with the following structure: create table category_value (
I have following XML generated by serializing a boost::posix_time::ptime structure. I want to create
why does Guava doesn't have the following factory call to create a MultiMap from
I have the following problem, given the following service contract, data contract, and service
I have following situation. In a constructor of a pseudo class I attach a
I have a service with an following constructor: public ShimmerService(Context context, Handler handler) {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.