Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-995

Form Builder - Radio buttons must have one value checked

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.x
    • Fix Version/s: 2.0.x
    • Component/s: Form - JS (deprecated)
    • Labels:
      None

      Description

      Current behavior:

      The form-builder creates a multiple-choice input (radio-buttons) without any predefined value (see attached screenshot).

      Expected behavior:

      The form-builder creates a multiple-choice input (radio-buttons) with the first option (value 1) selected by default.

      According to the W3C specification:

      At all times, exactly one of the radio buttons in a set is checked. If none of the <INPUT> elements of a set of radio buttons specifies 'CHECKED', then the user agent must check the first radio button of the set initially.
      Since user agent behavior differs, authors should ensure that in each set of radio buttons that one is initially "on".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eduardo.lundgren Eduardo Lundgren (Inactive)
              Reporter:
              eduardo.garcia Eduardo García
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 6 weeks, 4 days ago

                  Packages

                  Version Package
                  2.0.x