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

positiveButtonLabel and negativeButtonLabel not work on Android imperative api #646

Closed
longb1997 opened this issue Aug 17, 2022 · 1 comment · Fixed by #648
Closed

positiveButtonLabel and negativeButtonLabel not work on Android imperative api #646

longb1997 opened this issue Aug 17, 2022 · 1 comment · Fixed by #648
Labels

Comments

@longb1997
Copy link

Bug report

Hi! When I try to using positiveButtonLabel and negativeButtonLabel props on Android imperative api, but them not working.

                DateTimePickerAndroid.open({
			mode: 'date',
			value: value ? moment(value, 'YYYYMMDDHHmm').toDate() : new Date(),
			display: 'calendar',
			positiveButtonLabel: 'Positive',
			negativeButtonLabel: 'Negative',
			minuteInterval: props.minuteInterval,
			onChange: (event, newDate) => {
				onChange(newDate);
			},
		});

datetimepicker version: ^6.3.1

Android version: 12

@vonovak
Copy link
Member

vonovak commented Aug 20, 2022

🎉 This issue has been resolved in version 6.3.2 🎉

If this package helps you, consider sponsoring us! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants