Commit ab700a16 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: all valves input should be required

parent 0cf936f9
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
placeholder={valvesSpec.properties[property].title} placeholder={valvesSpec.properties[property].title}
bind:value={valves[property]} bind:value={valves[property]}
autocomplete="off" autocomplete="off"
required={(valvesSpec?.required ?? []).includes(property)} required
/> />
</div> </div>
</div> </div>
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
placeholder={valvesSpec.properties[property].title} placeholder={valvesSpec.properties[property].title}
bind:value={valves[property]} bind:value={valves[property]}
autocomplete="off" autocomplete="off"
required={(valvesSpec?.required ?? []).includes(property)} required
/> />
</div> </div>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment