Results 1 to 3 of 3

Thread: RawEditor F is undefined

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Location
    Villaflores,Chiapas,Mexico
    Posts
    97

    Default RawEditor F is undefined

    Hi, i have a question, with this piece of code can i resolve f.is undefined?
    Example:
    When i Run for First Time my Form with a Raw Editor, all is Fine, but if i close my Form , and then i decide to open my form Again , and if i try to edit the Raw editor , Firebug rise a bug: f is undefined in RawEditor.js line:
    f.setValue(val);
    this.values[f.id] = Ext.isEmpty(val) ? : val;

    i forgot to tell ya sothing , The f is undefined rised, when i close my form with action:close,
    and before call my form again, i do first: MyDataStore.removeAll(); F is undefined , is a bug from this line: fields = this.items.items
    so if f is empty :
    f = fields[i];
    .
    .
    .
    f.setValue(val); ////<Here Rise the bug.
    Thank you

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

    Default

    What do you mean close the form? Is the form being destroyed?
    Mitchell Simoens @LikelyMitch

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

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Location
    Villaflores,Chiapas,Mexico
    Posts
    97

    Default Yep

    Quote Originally Posted by mitchellsimoens View Post
    What do you mean close the form? Is the form being destroyed?

    Yep , i close my form (Destroy all components), i i've been traying with action:hide, but all the stuff in my form appears incomplete (Text boxes, labels, etc), so i decided to use: action:close. but when i call my form again, raweditor raise f is undefined when i try to use it again. thanks

Posting Permissions

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