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

The Validation error message for a Document Type Radio button field is inconsistent with the formatting found on other fields

    Details

      Description

      Steps to reproduce/Testing done

      1. Start Liferay
      2. Login as administrator
      3. Go to Site Administration > Content > Documents and Media > Manage > Document Types
      4. Add a Document Type
      5. Enter in Test as the name
      6. Add a Radio field to the document type
      7. Select the Radio field to edit the field settings
      8. Set the Radio field to being required in the field settings
      9. Click on the Source tab and remove the following tag:
        			<entry name="predefinedValue">
        				<![CDATA[["value 1"]]]>
        			</entry>
        
      10. Hit Save (Do NOT go back to the View tab as that will revert the change made in the previous step)
      11. Go to Site Administration > Content > Documents and Media > Add > Test
      12. Choose a file to upload and do not select any Radio button option
      13. Attempt to save and notice the validation error message for the radio button

      The error message is prepended to the first option, rather than appended to the Radio option field, which is inconsistent with out validation error messages.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 22 weeks ago

                  Packages

                  Version Package
                  2.0.x
                  master
                  2.5.x
                  3.0.x
                  2.0.0.20-deprecated
                  3.1.x