jquery-steps icon indicating copy to clipboard operation
jquery-steps copied to clipboard

HTML Select tag is not showing the selected option in jquery-steps when inside form-wizard script

Open aljohnreyvirtudazo opened this issue 7 years ago • 2 comments

I have select tag inside jquery-steps plugin but when I added form-wizard.js the selected option is not showing.

aljohnreyvirtudazo avatar May 24 '18 05:05 aljohnreyvirtudazo

hello, I have that same problem, I have a select that filled dynamically via ajax within a form, but when implementing the jquery steps, it no longer fills the select, although the request if it is done without problems, could you solve it? can you help me?

EJunit avatar May 30 '19 05:05 EJunit

The trick to write any other event listeners after the steps objects after you have initialized the step .e.g // comes first

$('form).steps({
        headerTag: "h6",
        bodyTag: "section",
        transitionEffect: "fade",
        enablePagination: false,
       - -- - --
    });

// others come below it

$('#my_select').on('change', function(e){
     --  --  -
});

phanuelayuka avatar Jul 12 '22 07:07 phanuelayuka