Results 1 to 2 of 2

Thread: timefield resets after editing

    You found a bug! We've classified it as EXTJS-4856 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
      0  

    Default timefield resets after editing

    i have a grid with two dates :
    {id : 1, agendaTimeFrom: '2011/01/22 09:30', agendaTimeTo:'2011/01/22 11:30', ...

    when i submit an edited time, the date resets to 2008/01/01. see row 2:
    gridediting.png

    my view column code
    Code:
    {
                header: 'Time From', 
                dataIndex: 'agendaTimeFrom', 
                renderer: Ext.util.Format.dateRenderer('y/m/d H:i'),
                editor: { 
                            format:'H:i',
                            xtype: 'timefield', 
                            submitFormat : 'y/m/d H:i',
                            increment: 15,
                            minValue: '8:00 AM',
                            maxValue: '7:30 PM',
                                },
                width: 100
    },
    i use version 4.0.7
    anyone?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    I moved this to the bugs forum to open a bug ticket for it as it shouldn't do that.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •