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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:10:48+00:00 2026-05-30T15:10:48+00:00

I want to create a customized Ext.form.field.Field with a gray text color if the

  • 0

I want to create a customized Ext.form.field.Field with a gray text color if the field is readOnly. If it’s not readOnly, the default text color shall be used.

There seems to be no variable in the _form.scss -file that can be used to do that.

Can I create a new variable like $form-field-readonly-color ?

  • 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-05-30T15:10:49+00:00Added an answer on May 30, 2026 at 3:10 pm

    Final solution is:

    .x-form-field.x-form-text[readonly]  {
        color: gray !important;
    }
    

    Textfields have the two classes x-form-field and x-form-text. Attribute “readonly” is set by ExtJS and can be selected with brackets, see here.

    This code can be pasted directly in the scss-file so it doesn’t pollute any Ext-files.

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

Sidebar

Related Questions

How to create Customized UIPicker View in iphone.I want to customize the background Color,Style
How to extend zend form element to create customized currency field. For example: $amount
If I want to create a customized ASP.Net MVC3 form based authentication, what are
I want to create a customized UIView class (a static lib) for some app
I want create module which update list of usb devices automatically (not only mass
I just want ask for your comments/suggestions on how to create a customized listview
I want to create a customized renderer for a built-in component: <h:selectOneRadio /> I
I am trying to create a customized messagebox using javascript but not getting too
I want to create a HTML customized select combo box. What are the libraries
How does drupal create its own hook. Similarly i want a customized hook for

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.