Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-9338

editor toggle radio input doesn't have distinguishable attributes

XMLWordPrintable

    • Low
    • True
    • Unspecified
    • If docs needed, set a value

      Description of problem:
      in earlier OCP 4.10 we added data-checked-state attribute for RadioInput in https://bugzilla.redhat.com/show_bug.cgi?id=2015472, not synced editor toggle input doesn't have this attribute

      Version-Release number of selected component (if applicable):
      4.11.0-0.nightly-2022-06-23-092832

      How reproducible:
      Always

      Steps to Reproduce:
      1. on operand creation page, 'Form view' and 'YAML view' radio input doesn't have distinguishable state to identify which radio input is checked
      2. workloads creation form, for example on Deployments and Routes creation form, 'Form view' and 'YAML view' also don't have distinguishable state

      Actual results:
      'Form view' and 'YAML view' radio input doesn't have attribute reflects its selected status
      <input name="editorType" id="form-radiobutton-editorType-form-field" data-test="form-view-input" class="pf-c-radio__input" type="radio" aria-invalid="false" data-ouia-component-type="PF4/Radio" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-Radio-9" value="form" checked="">

      Expected results:
      'Form view' and 'YAML view' radio toggle input should have distinguishable status

      Additional info:

            sgoodwin_redhat Steve goodwin
            rhn-support-yapei YaDan Pei
            YaDan Pei YaDan Pei
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: