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 8801257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:47:19+00:00 2026-06-14T00:47:19+00:00

in ExtJs I have a combobox and several fields on the same form. I

  • 0

in ExtJs I have a combobox and several fields on the same form. I want the fields, which start out disabled, to become enabled based on selections in the combo box. In order to do that I have the following:

listeners: { change: {
                    fn: function (combo, newValue, oldValue, eOpts) {
                        if (newValue == "amz") {
                            var amazonFields = this.up('panel').query('#amz1, #amz2, #amz3');
                            amazonFields[0].disabled = 'false';
                            amazonFields[1].disabled = 'false';
                            amazonFields[2].disabled = 'false';
                        }
                    }
                }

The code works as I expect it to, but the fields stay disabled, can anyone tell me why? Thank you!

  • 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-14T00:47:20+00:00Added an answer on June 14, 2026 at 12:47 am

    The disabled property of the field is read-only. To change its state you need to call the setDisabled or disable methods.

    Also, 'false' is not the same as false in JavaScript.

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

Sidebar

Related Questions

I have an ExtJS combobox, which is a required field, but I don't want
I have a form with some controls (extJs and ASP) like this: <ext:ComboBox ID=Countries
I am wondering if it is possible in ExtJS to have several values of
I have an ExtJS application which is invoked with some query string parameters. I
We have got an extjs 3.1.1 form with file upload field ( http://www.extjs.com/deploy/dev/examples/form/file-upload.html from
I have the following extJs window which has two tabs in it. One of
For example if I have extjs ComboBox, and I have URL like http://localhost:8080?param=value1,value2,value3 How
I want to implement the following combobox in ExtJS. The question is, how to
When submitting a form with Extjs I can see the form items have values
In ExtJs we have a page load event named Ext.onReady() which is called after

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.