We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to add a cancel button to the date selection? Currently, if the user does not select a date range, they just get an error.
Thank you!
The text was updated successfully, but these errors were encountered:
I'm also interested in this!
Sorry, something went wrong.
Yes it seems this important feature is missing.
This is how you close the modal with out selecting input. Add a ref to the component and access the setModalVisible
setModalVisible
customButton={(onConfirm) => ( <View style={{ flex: 1, marginHorizontal: 20, marginTop: -30 }}> <Button variant={'primary'} buttonText="Select Range" textColor={theme.primarySurface} onPress={onConfirm} /> <Button variant={'transparent'} buttonText="Cancel" textColor={theme.primaryColor} onPress={() => ref.current.setModalVisible(false)} /> </View> )} />
No branches or pull requests
Is there a way to add a cancel button to the date selection? Currently, if the user does not select a date range, they just get an error.
Thank you!
The text was updated successfully, but these errors were encountered: