Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Feb 2013
    Posts
    3
    Vote Rating
    0
    g_cowley is on a distinguished road

      0  

    Default ST2.2 Placeholder of Ext.field.Number fields not visible using Android 4.1 browser

    ST2.2 Placeholder of Ext.field.Number fields not visible using Android 4.1 browser


    REQUIRED INFORMATIONExt version tested:
    • ST 2.2
    Browser versions tested against:
    • Android 4.1 Browser
    DOCTYPE tested against:
    • UTF-8
    Description:
    • The placeholder of a number field is not visible on Android 4.1 browser
    • On iOS devices and with Google Chrome on Android it works
    Steps to reproduce the problem:

    The placeholder of the field "portal" is not visible:

    Code:
    Ext.define('mOAccess.view.LoginMSM', {
        extend: 'Ext.form.Panel',
        alias: 'widget.login',
    
    
        config: {
            centered: true,
            height: 277,
            padding: 10,
            width: 300,
            modal: true,
            items: [
                {
                    xtype: 'toolbar',
                    docked: 'top',
                    title: 'mobileServiceManager'
                },
                {
                    xtype: 'numberfield',
                    name: 'portal',
                    placeHolder: 'Accesscode'
                },
                {
                    xtype: 'textfield',
                    name: 'loginname',
                    placeHolder: 'Loginname'
                },
                {
                    xtype: 'passwordfield',
                    name: 'pw',
                    placeHolder: 'Password'
                },
                {
                    xtype: 'spacer',
                    height: 20
                },
                {
                    xtype: 'button',
                    centered: false,
                    ui: 'confirm',
                    text: 'Login'
                }
            ]
        }
    
    
    });

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,714
    Vote Rating
    438
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Did you inspect the DOM to see if the attribute was on the <input> element? If so, then this is a browser issue not displaying it.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.