2
0

🐛 (js) Enable prefill for date input

This commit is contained in:
Baptiste Arnaud
2023-03-13 10:17:16 +01:00
parent f9aef907e3
commit a66a1e8226
4 changed files with 16 additions and 3 deletions

View File

@ -152,6 +152,7 @@ const Input = (props: {
<Match when={props.block.type === InputBlockType.DATE}>
<DateForm
options={props.block.options as DateInputOptions}
defaultValue={getPrefilledValue()}
onSubmit={onSubmit}
/>
</Match>