From 54aedc253689684cf2655928d817f5c3f4eae4ef Mon Sep 17 00:00:00 2001 From: kristenjh Date: Tue, 10 Sep 2024 08:40:07 -0700 Subject: [PATCH] Made cell level project default to blank instead of "None" --- src/JEM-schema.json | 1 - src/JEM-wschema.html | 10 ++++++---- src/JEM.html | 9 ++++++--- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/JEM-schema.json b/src/JEM-schema.json index 9117001..9d31f3b 100644 --- a/src/JEM-schema.json +++ b/src/JEM-schema.json @@ -131,7 +131,6 @@ "pilotName":{ "type":"string", "title":"Slice/Cell Level Projects", - "default": "None", "enum": ["None", "LAS Validation", "MOR Pilot", "retrograde_labeling", "ICV Injection", "Morphology", "Morphology Clearing", "Picrotoxin Validation", "1% Biocytin + Extended PBS Morphology Pilot", "1% Biocytin Pilot", "Extended PBS Morphology Pilot", "Training", "Neonatal mice", "Lot2022 Validation Pilot", "U01 Pilot", "Dravet Mouse Pilot", "PatchLink", "ACSF no blockers"], "required":true }, diff --git a/src/JEM-wschema.html b/src/JEM-wschema.html index 1775d0f..2e628e6 100644 --- a/src/JEM-wschema.html +++ b/src/JEM-wschema.html @@ -502,7 +502,6 @@ "pilotName": { "type":"string", "title":"Cell Level Projects", - "default": "None", "enum": ["None","LAS Validation", "MOR Pilot", "retrograde_labeling", "ICV Injection", "Morphology", "Morphology Clearing", "Picrotoxin Validation", "1% Biocytin + Extended PBS Morphology Pilot", "1% Biocytin Pilot", "Extended PBS Morphology Pilot", "Training", "Neonatal mice", "Lot2022 Validation Pilot", "U01 Pilot", "Dravet Mouse Pilot", "PatchLink", "ACSF no blockers"], "required":true }, @@ -1223,9 +1222,12 @@ "fieldClass": "form-group col-lg-3", "helper": [], "sort": true, - "hideNone":true, - "noneLabel":"None", - "hidden":false, + "validate": true, + "showMessages": false, + "hideInitValidationError": true, + "hideNone": false, + "noneLabel": "", + "hidden": false, "events": { "change": function() { // Echo Pilot Name diff --git a/src/JEM.html b/src/JEM.html index 986c8ea..30c8f5c 100644 --- a/src/JEM.html +++ b/src/JEM.html @@ -781,9 +781,12 @@ "fieldClass": "form-group col-lg-3", "helper": [], "sort": true, - "hideNone":true, - "noneLabel":"None", - "hidden":false, + "validate": true, + "showMessages": false, + "hideInitValidationError": true, + "hideNone": false, + "noneLabel": "", + "hidden": false, "events": { "change": function() { // Echo Pilot Name