Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4826

Radiogroup selectedIndex wrong after move descendant radio indirectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.5.8.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Steps to Reproduce

      https://zkfiddle.org/sample/7q7rav/1-radiogroup-move-descendant-test

      Current Result

      in testA: wrong selected index
      in testB: wrong selected index, and wrong radio status in rg_t2(multiple radio in rg_t2 isSelected)

      Expected Result

      same behavior as directly move the radio

      Debug Information

      Since we don't move the radio but move the parent div instead, the radio doesn't have opportunity to know the radio group is changed.

      Workaround

      move radio directly

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Leon03 Leon03
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: