@ -43,6 +43,17 @@ export const dateRangeFieldMorfo = {
{ attr: 'data-disabled', severity: 'optional' }
],
aria: []
},
{
name: 'Input',
kebab: 'input',
archetype: 'input',
kind: 'public',
defaultElement: 'div',
role: 'group',
optional: false,
data: [{ attr: 'data-endpoint', values: ['start', 'end'] }],
}
]
} as const satisfies Morfo;
@ -43,6 +43,17 @@ export const timeRangeFieldMorfo = {
@ -93,7 +93,7 @@
// `data-date-field-input` attribute.
const mergedProps = $derived(
mergeProps(restProps, state.props, {
[dateRangeFieldAttrs.provider + '-input']: '',
[dateRangeFieldAttrs.input]: '',
'data-endpoint': type
} as Record<string, unknown>)
);
@ -96,7 +96,7 @@
// `data-time-field-input` attribute.
[timeRangeFieldAttrs.provider + '-input']: '',
[timeRangeFieldAttrs.input]: '',
Powered by TurnKey Linux.