Results 1 to 3 of 3

Thread: Disabled fields do not show data

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1325 in a recent build.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    22
    Vote Rating
    0
      0  

    Default Disabled fields do not show data

    When fields are disabled the data in the field is not displayed in Chrome 16.0.912.63 m for windows. This can be seen in the Kitchen Sink demo on your website. Sencha Touch 2 PR 3.

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    I see the value but the text's color is white and can hardly see it.

    Code:
    var cnt = Ext.create('Ext.Container', {
        fullscreen : true,
        items      : [
            {
                xtype    : 'textfield',
                label    : 'text',
                disabled : true,
                value    : 'See me?'
            }
        ]
    });
    This can be fixed via CSS:

    Code:
            .x-item-disabled input,
            .x-item-disabled .x-spinner-body,
            .x-item-disabled select,
            .x-item-disabled textarea {
                color: #ff0000;
            }
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,159
    Vote Rating
    8
      0  

    Default

    -webkit-text-fill-color to the rescue.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •