import type { Ref } from 'vue' import type { DatePickerCommonProps } from '../../types' import { buildSharedDateTextInputProps } from '../../props/buildSharedDateTextInputProps' export const buildComplexDatePickerTextInputProps = ( props: DatePickerCommonProps, labelWithAsterisk: Ref, errorMessages: Ref, warningMessages: Ref, successMessages: Ref, ) => ({ ...buildSharedDateTextInputProps(props, labelWithAsterisk, errorMessages, warningMessages, successMessages), 'validate-on-model-change': false, })