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

    Rendering of input type="date"

    Framework
    3
    5
    666
    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.
    • C
      cjmendoza last edited by

      Not rendering properly of input type date.
      It displays as follows:
      QuasarDate.png

      Code:
      <q-input label=“Discharge Date” type=“date” v-model.lazy=“patient.disch_date”></q-input>

      1 Reply Last reply Reply Quote 1
      • CristalT
        CristalT last edited by

        date type is not a allowed feature of q-input component. You may use QDate component instead or QDatetime for 0.17.x versions.

        1 Reply Last reply Reply Quote 0
        • C
          cjmendoza last edited by

          I am using v1.0 beta. Everything works except for the format. QDate shows the calendar. I want to have an input field.

          1 Reply Last reply Reply Quote 0
          • C
            cjmendoza last edited by

            I fixed it by changing style in app.styl:
            .q-field__native {
            margin-top: 6px
            }

            1 Reply Last reply Reply Quote 0
            • rstoenescu
              rstoenescu Admin last edited by

              No fixing needed. Just use “stack-label” as docs warn about.

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