🐛 fix: Add step attribute to datetime-local inputs for precise time selection in forms

This commit is contained in:
web
2025-09-29 02:43:39 -07:00
parent 5816dd5198
commit 32fd181b52
4 changed files with 19 additions and 2 deletions
@@ -366,6 +366,7 @@ export default function EmailBroadcastForm() {
<FormControl>
<EnhancedInput
type='datetime-local'
step='1'
disabled={form.watch('scope') === 5} // ScopeSkip
value={field.value}
onValueChange={field.onChange}
@@ -384,6 +385,7 @@ export default function EmailBroadcastForm() {
<FormControl>
<EnhancedInput
type='datetime-local'
step='1'
disabled={form.watch('scope') === 5} // ScopeSkip
value={field.value}
onValueChange={field.onChange}
@@ -425,6 +427,7 @@ export default function EmailBroadcastForm() {
<FormControl>
<EnhancedInput
type='datetime-local'
step='1'
placeholder={t('leaveEmptyForImmediateSend')}
value={field.value}
onValueChange={field.onChange}