PDA

View Full Version : isDirty on date field with value config



watermark
8 Jan 2014, 11:58 AM
{
xtype: 'datefield',
value: new Date()
}

When you set the "value" config on a datefield, the field will always show as dirty. When inspecting the originalValue, it appears that the originalValue is set to the exact Date() object, but the value is transformed to have the time set to midnight.

Gary Schlosberg
8 Jan 2014, 12:08 PM
Thanks for the report. With which version of ExtJS are you seeing this issue? Which browser(s)? Can you please post a test case with reproduces the problem?