Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109431

UI does not show null selected entry in enum for chart release edit/create form

    XMLWordPrintable

    Details

      Description

            {
              "variable": "certificate",
              "description": "Minio Certificate",
              "label": "Minio Certificate",
              "group": "Minio Configuration",
              "schema": {
                "type": "int",
                "$ref": [
                  "definitions/certificate"
                ],
                "enum": [
                  {
                    "value": null,
                    "description": "No certificate"
                  },
                  {
                    "value": 3,
                    "description": "'openvpn_server' Certificate"
                  },
                  {
                    "value": 5,
                    "description": "'truenas_ui' Certificate"
                  },
                  {
                    "value": 9,
                    "description": "'truenas_acme_staging' Certificate"
                  },
                  {
                    "value": 10,
                    "description": "'truenas_acme' Certificate"
                  },
                  {
                    "value": 13,
                    "description": "'vpn_client' Certificate"
                  },
                  {
                    "value": 24,
                    "description": "'extension_test' Certificate"
                  },
                  {
                    "value": 29,
                    "description": "'test_cloudflare_cert' Certificate"
                  }
                ],
                "default": null,
                "null": true
              }
            },

      If we have the above schema, UI should show that the default value selected is `No certificate` but that does not happen as shown in the attached video.

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                akarpov Alex Karpov
                Reporter:
                waqar Waqar Ahmed
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: