about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-04-13 09:40:09 -0500
committerFrederick Muriuki Muriithi2026-04-13 09:40:09 -0500
commit9c2effe848480b706a92892e464e701f9d4d8949 (patch)
tree9437e89232e576349b38dba9e5ea8d657f3c0326
parent92286b4734963770ae3e6a930a5cd96c6ac430a4 (diff)
downloadgn-uploader-9c2effe848480b706a92892e464e701f9d4d8949.tar.gz
Convert from "disabled" to "readonly" to ensure value is submitted.
Convert the "dataset-name" input element to "readonly" to ensure that
the auto-generated name is not editable by the user, but is submitted
together with the rest of the data.
-rw-r--r--uploader/templates/phenotypes/create-dataset.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/templates/phenotypes/create-dataset.html b/uploader/templates/phenotypes/create-dataset.html
index 6eced05..9963953 100644
--- a/uploader/templates/phenotypes/create-dataset.html
+++ b/uploader/templates/phenotypes/create-dataset.html
@@ -49,7 +49,7 @@
              class="form-control"
              {%endif%}
              required="required"
-             disabled="disabled" />
+             readonly="readonly" />
       <small class="form-text text-muted">
         <p>A short representative name for the dataset.</p>
         <p>Recommended: Use the population name and append "Publish" at the end.