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

Why don't works calendar picker mode #59

Open
mariodiciccio opened this issue Aug 6, 2019 · 1 comment
Open

Why don't works calendar picker mode #59

mariodiciccio opened this issue Aug 6, 2019 · 1 comment

Comments

@mariodiciccio
Copy link

mariodiciccio commented Aug 6, 2019

I have installed the new release 1.2.0 and datePickerMode = 'calendar' don't works, while in 1.1.10 it worked fine.
Why?

If i modify the default value in "calendar" (spinner"
-> App_Resources/Android/values-21/styles.xml) then show calendar.

@mreall
Copy link

mreall commented Jun 9, 2020

I have the same issue on 1.2.2 on Android. The default value for datePickerMode is supposed to be "calendar." Even explicitly setting it when calling picker.pickDate doesn't work.

As @mariodiciccio mentioned, I see the following in App_Resources/Android/src/main/res/values-v21/styles.xml:

    <!-- Default style for DatePicker - in spinner mode -->
    <style name="SpinnerDatePicker" parent="android:Widget.Material.Light.DatePicker">
        <item name="android:datePickerMode">spinner</item>
    </style>

Does anyone know how to force the picker into calendar mode from javascript?

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

No branches or pull requests

2 participants