TagInput maximale Länge

This commit is contained in:
Moritz Utcke
2024-12-20 14:34:03 +07:00
parent 522dac1d0c
commit 06f9b3dc49
2 changed files with 12 additions and 8 deletions

View File

@@ -152,8 +152,9 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
<TagInput
name="baujahr_gebaeude"
type="number"
minlength={4}
maxlength={4}
onlyUnique={true}
minChars={4}
onFocusIn={() => {
addNotification({
message: "Info",
@@ -193,7 +194,8 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
name="baujahr_heizung"
type="number"
onlyUnique={true}
minChars={4}
minlength={4}
maxlength={4}
onFocusIn={() => {
addNotification({
message: "Info",