Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    2
    Vote Rating
    0
    mmartin87 is on a distinguished road

      0  

    Default DatePicker not displays correctly when you try to change month and year together

    DatePicker not displays correctly when you try to change month and year together


    Hello.

    In the DatePicker that is used in DateFields there is a button in top to change month and year together.

    This button must display a panel with months and years, but it only works in Internet Explorer (not works in Firefox nor Chrome).

    I use Ext JS 3.4.

    ¿Someone can resolve this bug?

    Thanks,
    Martín

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,735
    Vote Rating
    756
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This code:

    Code:
    new Ext.form.FormPanel({
        renderTo : document.body,
        width    : 400,
        title    : 'Test',
        items    : [
            {
                xtype      : 'datefield',
                fieldLabel : 'Date'
            }
        ]
    });
    works for me when changing the month and year using 3.4.0 and Chrome 26
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

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

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Posts
    2
    Vote Rating
    0
    mmartin87 is on a distinguished road

      0  

    Default


    This is the code (there are very much code, but I obviously can't put here).

    Code:
    var tfechainicio = new Ext.form.DateField({
                    fieldLabel: 'Fecha de inicio',
                    name: 'fechainicio',
                    width: 120,
                    enableKeyEvents: true,
                    readOnly: ((!tengoRol('ADMKT') && !tengoRol('AGENCIA')) || (tengoRolStrict('AGENCIA') && !puedoEditar()) || noEditable) ? true : false,
                    helpText: 'La fecha de inicio es obligatoria si el medio es acto/feria',
                    format: 'd/m/Y',
                    altFormats: 'd/m/y|d/n/Y|d/n/y|j/m/Y|j/m/y|j/n/Y|j/n/y' //|n/j/Y|n/j/y|m/j/y|n/d/y|m/j/Y|n/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d'
            ,
                    disabled: !(tengoRol('ADMKT')),
                    listeners: {
                        keyup: function () { validaForm(); fechainicioAg.setValue(tfechainicio.getValue()); },
                        select: function () { validaForm(); fechainicioAg.setValue(tfechainicio.getValue()); }
                    }
                });
    In Firefox if you clic in the top button to change month and year the panel goes down and goes up rapidly. In Chrome the panel doesn't appear. In Internet Explorer the panel appears correctly, although the bottom buttons don't display well because the panel must have more height because I changed the font size because the default font size is too small. I used this CSS code to change the font size. Maybe it causes too the problems in Firefox and Chrome.

    Code:
    div, span, p, body, a, input, button, label, textarea, b {
        font-size: 12px !important;
    }
    How can I solve this problems?


    Thanks,
    Martín

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar