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

AdaptiveDatePicker is returing wrong values #40

Open
JagadishaIncture opened this issue Apr 18, 2024 · 2 comments
Open

AdaptiveDatePicker is returing wrong values #40

JagadishaIncture opened this issue Apr 18, 2024 · 2 comments
Labels
bug Something isn't working component: DatePicker

Comments

@JagadishaIncture
Copy link

Iam using state.selectedDateMillis to get selected date millisecs about it always return current date

val state = rememberCupertinoDatePickerState() AdaptiveDatePicker( state = state, modifier = Modifier.fillMaxWidth(), adaptation = { material { headline = null showModeToggle = false title = null }})

and using state.selectedDateMillis to get Millis but its not giving accurate values

@alexzhirkevich alexzhirkevich added bug Something isn't working component: DatePicker labels Apr 18, 2024
@JagadishaIncture
Copy link
Author

Screenshot 2024-05-09 at 2 49 08 PM

CupertinoWidget date width is compressed

@JagadishaIncture
Copy link
Author

refered from example code

`
AdaptiveDatePicker(

                state = rememberCupertinoDatePickerState(),
                modifier = Modifier.fillMaxWidth(),
                adaptation = {
                    material {
                        headline = null
                        showModeToggle = false
                        title = null
                    }
                }
            )`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: DatePicker
Projects
None yet
Development

No branches or pull requests

2 participants