Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8229 in a recent build.
  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    126
    Vote Rating
    0
    varunach is on a distinguished road

      0  

    Default Timefield minValue and maxValue

    Timefield minValue and maxValue


    Ext Version
    Whatever used in the API Documentation. I use 4.1.1

    Browser
    Chrome 23

    Description
    Set minValue and maxValue of timefield. Manually input value beyond this range through keyboard. Open the combo box. All times starting from 12:00 AM to 11:45 PM are visible. This does not change back to normal again.

    Steps to reproduces problem
    Create timefield with maxValue and minValue config.
    Manually set the time using keyboard beyond minVal and maxVal range.

    Expected Result
    Error text should be displayed and timefield should remain unchanged

    Result that occured:
    The maxValue and minValue fields are ignored and all times are displayed.

    Test Case

    http://docs.sencha.com/ext-js/4-1/#!...orm.field.Time
    Code pasted from example in the timefield documentation.

    Code:
    Ext.create('Ext.form.Panel', {    title: 'Time Card',
        width: 300,
        bodyPadding: 10,
        renderTo: Ext.getBody(),
        items: [{
            xtype: 'timefield',
            name: 'in',
            fieldLabel: 'Time In',
            minValue: '6:00 AM',
            maxValue: '8:00 PM',
            increment: 30,
            anchor: '100%'
        }, {
            xtype: 'timefield',
            name: 'out',
            fieldLabel: 'Time Out',
            minValue: '6:00 AM',
            maxValue: '8:00 PM',
            increment: 30,
            anchor: '100%'
       }]
    });

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    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


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Tags for this Thread