Skip to content
New issue

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

The format is not applied in the range edition fields, nor are states updated #233

Closed
JohabarWil opened this issue Jan 5, 2023 · 3 comments
Labels
needs more info Needs more information question Further information is requested stale

Comments

@JohabarWil
Copy link

Hi,

Version 0.11.10 is being used when implementing react-native-paper-dates in range mode, when entering to edit dates manually, the format is not applied, nor is the status of the entered dates updated

It was expected that when entering the dates in each field, the defined format would be applied, at the same time the status of the dates to save would be updated

NOTE: This was going to happen after migrating version of react-native-paper-dates from 0.9.2 to 0.11.10 (using react-native-paper V5.1.2)

Plays on iOS 12 and 16, Android 12,

configuration example

<DatePickerModal
locale={'en'}
mode="range"
visible={openPicker}
onDismiss={onDismiss}
startDate={range.startDate}
endDate={range.endDate}
onConfirm={confirmDate}
disableStatusBar={Platform.OS !== 'ios'}
validRange={{
startDate: new Date(clientCreationDate),
endDate: new Date(),
}}
uppercase={false} // optional, default is true
dateMode={'start'}
/>

bug-range

Can someone help me? something you are doing wrong?

@JohabarWil JohabarWil added the question Further information is requested label Jan 5, 2023
@iM-GeeKy
Copy link
Collaborator

iM-GeeKy commented Jan 5, 2023

PRs welcome!

@iM-GeeKy iM-GeeKy added the needs more info Needs more information label Aug 14, 2024
Copy link
Contributor

Hey! Thanks for opening the issue. Can you provide more information about the issue? Please fill the issue template when opening the issue without deleting any section. We need all the information we can, to be able to help. Make sure to at least provide - Current behaviour, Expected behaviour, A way to reproduce the issue with minimal code (link to snack.expo.dev) or a repo on GitHub, and the information about your environment (such as the platform of the device, versions of all the packages etc.).

Copy link
Contributor

Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Needs more information question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

2 participants