Skip to content

Commit c3b931f

Browse files
authored
DateTimePicker - fix TextField migration related TS errors (#2604)
1 parent c56e413 commit c3b931f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/dateTimePicker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ const DateTimePicker = forwardRef((props: DateTimePickerPropsInternal, ref: Forw
343343
testID={testID}
344344
editable={editable}
345345
// @ts-expect-error should be remove after completing TextField migration
346-
expandable={!!others.renderExpandableInput}
346+
expandable={migrateTextField ? undefined : !!others.renderExpandableInput}
347347
value={getStringValue()}
348348
/>
349349
)}

0 commit comments

Comments
 (0)