Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4201

UI: Add attributes modal api hits when no attributes are added on Classification detail page.

    XMLWordPrintableJSON

Details

    Description

      Steps:

      1) Add attributes by clicking on the attribute + button on the classification detail page.
      Add Attribute modal opens with default 1 attribute field, "Add" button of the modal is disabled.

      2) Click on the "Add New Attributes" button.
      Additional attribute field is added, with remove attribute field buttons.

      3) Remove all the attributes fields by clicking on the remove buttons.

      4) Add button gets enable (should be disabled), refer to the attached image.

      5) Click on Add button, API is hit, an Attribute added success message is shown, refer to the attached image.

      Expectation:

      Show Validation message on "Add" Button click of the modal: "No attribute is added" or Disable the "Add" Button of modal or At least keep one Attribute field in the modal.

      Attachments

        1. 0001-ATLAS-4201-UI-Add-attributes-modal-api-hits-when-no-.patch
          2 kB
          Prasad P. Pawar
        2. AddAttributesField.png
          123 kB
          Prasad P. Pawar
        3. AddButtonEnabled.png
          123 kB
          Prasad P. Pawar
        4. Api_SuccessMessage.png
          149 kB
          Prasad P. Pawar

        Activity

          People

            prasadpp13 Prasad P. Pawar
            prasadpp13 Prasad P. Pawar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: