jQuery UI Widgets Forums Vue jqxTab jqxForm loop

This topic contains 2 replies, has 2 voices, and was last updated by  svetoslav_borislavov 10 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • jqxTab jqxForm loop #122161

    jqwidgetsdev
    Participant

    Hi,

    What is the preferred way of 1) looping through all jqxTabs tabs to find it’s form, so 2) I can go through all the form element and update those in a single shot?

    I am struggling with the first part.

    Any help is appreciated.

    jqxTab jqxForm loop #122162

    jqwidgetsdev
    Participant

    Hi,

    Node.js provides a Vue.js data() method. That method defines all my form templates (I have many).
    Additionally, there is a value method to write/preset ALL defined template input types across ALL form templates. Great!

    What’s the preferred way to get/set the value method from a button click event?

    I prefer not to be looping through tabs/form (above post).

    Thanks.

    jqxTab jqxForm loop #122196

    Hi,

    Is the button in the form or it is not?
    If it is inside you can use the buttonClick event of the form and in it the event’s handler you can reset the form’s value with the val() method.
    Here is a demo of resetting the form on the button click: https://codesandbox.io/s/infallible-paper-vp6erh

    Best regards,
    Svetoslav Borislavov

    jQWidgets Team
    https://www.jqwidgets.com/

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.