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

ionic native Date Picker issue in ios app #277

Open
rajlee5129 opened this issue Oct 28, 2019 · 1 comment
Open

ionic native Date Picker issue in ios app #277

rajlee5129 opened this issue Oct 28, 2019 · 1 comment

Comments

@rajlee5129
Copy link

rajlee5129 commented Oct 28, 2019

I used following code in my ionic 4 app. in android i dont have any issue, but in ios it is displaying time picker but it is not showing value like hours ,min , AM and PM(it in white color). if i scroll in white area of hours , mins AM,PM and then if click on done, i am getting changed value in this.datePicker.show(options).then() callback. but it not displaying.

import { DatePicker } from '@ionic-native/date-picker/ngx';

constructor(private datePicker: DatePicker) { }
this.datePicker.show({
date: new Date(),
mode: 'time',
androidTheme: this.datePicker.ANDROID_THEMES.THEME_HOLO_LIGHT
}).then(
time => console.log('Got time: ', time),
err => console.log('Error occurred while getting time: ', err)
);

@jb-72
Copy link

jb-72 commented Oct 31, 2019

This is answered here: #274 (comment)

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