Results 1 to 3 of 3

Thread: Touch fiddle first worked, looked at it later, not working anymore?

  1. #1
    Ext Premium Member halcwb's Avatar
    Join Date
    Mar 2010
    Location
    Rotterdam
    Posts
    411
    Answers
    10

    Default Answered: Touch fiddle first worked, looked at it later, not working anymore?

    I created this fiddle to test a touch textfield behavior. First it really worked, tried it a couple of times. Later on it stopped working with a cryptic Ext error:


  2. You have xtype 'readonly' but you do not define what 'readonly' is. The error 'Cannot call method 'substring' of undefined' means that you are trying to create a class that has not been defined yet.

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,392
    Answers
    3997

    Default

    You have xtype 'readonly' but you do not define what 'readonly' is. The error 'Cannot call method 'substring' of undefined' means that you are trying to create a class that has not been defined yet.
    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

  4. #3
    Ext Premium Member halcwb's Avatar
    Join Date
    Mar 2010
    Location
    Rotterdam
    Posts
    411
    Answers
    10

    Default

    Quote Originally Posted by mitchellsimoens View Post
    You have xtype 'readonly' but you do not define what 'readonly' is. The error 'Cannot call method 'substring' of undefined' means that you are trying to create a class that has not been defined yet.
    Ah stupid, apparently, later on I deleted some Ext.define methods.

    P.s. I want to mark your post as best answer, but I get a no permission reply. And I am logged in, even logged out and then in again.

Posting Permissions

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