q-datetime (not working on ios theme) on dev
-
I have only tested this on dev environment and on Iphone simulator. The q-datetime component is not working, the model can’t be set, the datepicker ui does not show up as well.
When I switch to “-t mat” (or none), the datetime component works as normal. So I think that the issue is with the ios theme only. Of course, I can’t verify this on an actual production build.
It would be great to have the default ios theme working though as the interface looks very much native ios.
-
I want to update this. it is working correctly. however now i have trouble trying to set the model to a default value. it works on browser and android but not on ios.
<q-datetime :default-value=“today” format=“YYYY-MM-DD” format-model=“string” :min=“today” type=“date” :value=“checkindate” @change=“val => { checkindate = val }” />
import { date } from ‘quasar’ …
data () {
return{
today: date.formatDate(new Date(), ‘YYYY-MM-DD HH:mm’),
checkindate: null
}