Value of inputs reseted when including a new component


I'm having some problems with the value of inputs. I have this structure:
-A new kind that includes a select (onyx.Picker) and a textbox (onyx.Input)

-A container (enyo.Control) that can contain several elements of the previously mentioned kind.

-A button to generate a new element of the kind inside the container.

Everything is working fine, except that when I click the button to add a new element to the dinamic list the values of all the textboxes are reseted to void (the select items keeps their value).

The code I'm using to generate the new element is the next one:
        addAssesment: function (inSender, inEvent)
What I have to do to keep the value of my inputs?



Sign In or Register to comment.