Lib: Force length 7 for color input in TeamCard

This commit is contained in:
2025-02-03 22:32:59 +01:00
parent 8db2b634d3
commit 4cdc7713c8

View File

@ -88,6 +88,8 @@
placeholder="Enter as '#XXXXXX'"
disabled={disable_inputs}
required={require_inputs}
minlength={7}
maxlength={7}
onchange={(event: Event) => {
colorpreview = (event.target as HTMLInputElement).value;
}}