-
14 Jan 2013 5:01 AM #1
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%' }] });
-
14 Jan 2013 11:05 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
Thanks for the report! I have opened a bug in our bug tracker.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-8229
in
4.2.0 Sprint 3.


Reply With Quote