After digging around in the ns-datetimepicker code for ios, I found that it was hanging up on const messageLabelContainer = DateTimePicker._getLabelContainer(messageLabel);. This would never resolve with anything. Please see my following code:
I was playing around with solutions and this seemed to work. But I'm assuming there was a reason it was done the other way, which is the reason I'm not creating a PR for this yet.
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Additional links
https://nativescript-vue.org/en/docs/routing/manual-routing/#modal-view-navigation
Error
In an NS Vue modal view, the date time picker does not show on iOS. The code gets hung up trying to find a label container. See code below.
// Main page
// DeepTile.vue
After digging around in the ns-datetimepicker code for ios, I found that it was hanging up on
const messageLabelContainer = DateTimePicker._getLabelContainer(messageLabel);
. This would never resolve with anything. Please see my following code:I was playing around with solutions and this seemed to work. But I'm assuming there was a reason it was done the other way, which is the reason I'm not creating a PR for this yet.