No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    q-datetime (not working on ios theme) on dev

    Framework
    1
    2
    582
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jpg last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • J
        jpg last edited by

        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
        }

        1 Reply Last reply Reply Quote 0
        • First post
          Last post