Results 1 to 2 of 2

Thread: Timefield changes from 4.0.7 to 4.1.x

  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    487
    Answers
    4
    Vote Rating
    6
      0  

    Default Timefield changes from 4.0.7 to 4.1.x

    Anyone able to offer any insight as to why timefields have suddenly gained a required config attribute of valueField and are a subclass of combo instead of trigger in the move from 4.0.7 to 4.1?

    The reason I ask is I'm trying to track down an error in our code that always fires on trying to create a time field inside an xdatetime control but only when other json stores have been loaded. It sounds weird, I know, and I'm trying to build out a test page to show the issue to you all but in reading the docs on time field, it struck me as a very strange change to make to the core code base.

    Further, is there any documentation on these kind of core changes between versions that could help explain the impact to controls using these fields?

    I will try post a test version of my code later tonight so you can see the issue in operation.

    In the meantime, the error I'm getting is:

    Uncaught TypeError: Cannot call method 'on' of undefined

    I'm sure you can appreciate me thinking this is something to do with valueField as it's usually used to bind fields to stores and the error is occurring in the store bind area of the ext code code base - bindStoreListeners

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,381
    Answers
    3997
    Vote Rating
    1536
      0  

    Default

    I wasn't part of this discussion but I think it makes sense to have the time field extend combobox as that's what the time field really is.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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