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

Radiogroup selectedIndex wrong after move descendant radio indirectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.5.8.1
    • None
    • None

      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

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

              Created:
              Updated: