add disabled to date component

This commit is contained in:
Ruben Fiszel
2025-04-21 16:46:37 +02:00
parent 4e66d780c1
commit 776c944812
2 changed files with 6 additions and 0 deletions
@@ -108,6 +108,7 @@
on:pointerdown|stopPropagation
type="date"
bind:value
disabled={resolvedConfig.disabled}
min={resolvedConfig.minDate}
max={resolvedConfig.maxDate}
placeholder="Type..."
@@ -2801,6 +2801,11 @@ See date-fns format for more information. By default, it is 'yyyy-MM-dd'
documentationLink: 'https://date-fns.org/v2.30.0/docs/format',
placeholder: 'yyyy-MM-dd'
},
disabled: {
type: 'static',
value: false,
fieldType: 'boolean'
}
}
}