Support » Plugin: Smart Grid-Layout Design for Contact Form 7 » Bug+Fix proposal : Radio into tabbed section

  • Resolved Birmania

    (@birmania)


    Hi,

    I tried to put a radio button into a tabbed section but when we create a new tab, the check selection of radios from first tab are reset.

    Why ? It seems that cloned tab is added to the DOM before we iterate over the “input” tags to change their ids.
    Those, the radio get new options that will unselect the previous values.

    Of course, after the JS method ended, we can see that radio ids are correct but the check have been broken in the process.

    Potential fix is to move the line “$tab.append($newPanel);” after the input iteration and before the “$tab.tabs(“refresh”);”

    Yours faithfully,
    Birmania

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug+Fix proposal : Radio into tabbed section’ is closed to new replies.