Skip to content

Support <react-native-community/datetimepicker> #4156

@robertev

Description

@robertev

Support react-native-community/datetimepicker on RNW vNext

Basic Info

Overview of Required Functionality

React Native date & time picker component for iOS and Android
PureJS - no

we use this for data entry in our forms – it allows cross platform Date Time pickers to be displayed to the user, and for us to customize some behaviors. We already treat them slightly differently for different operating systems. We’ve wrapped it up in it’s own component, so we might have some way to make this work easily enough; but I’d expect windows to have a datepicker defined:

Our current abstraction around DateTimePicker:

{Platform.OS === 'android' && dlgVisible && ( <DateTimePicker minimumDate={rest.minimumDate} mode={rest.mode} onChange={onChangeHandler} value={value} /> )} {Platform.OS === 'ios' && ( <BottomSheet onCancel={dismiss} onDone={() => onChange(result)} title={title || placeholder} visible={dlgVisible} > <DateTimePicker minimumDate={rest.minimumDate} mode={rest.mode} onChange={onChangeHandler} value={result} /> </BottomSheet> )}

Metadata

Metadata

Labels

DeliverableMajor item tracked for top-level planning in ADOExtensionsTracks issues against community modules and extensionsPartner: AppConsultAppConsult managed customers

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions