Rendering of input type="date"
-
Not rendering properly of input type date.
It displays as follows:
Code:
<q-input label=“Discharge Date” type=“date” v-model.lazy=“patient.disch_date”></q-input> -
date
type is not a allowed feature ofq-input
component. You may use QDate component instead or QDatetime for 0.17.x versions. -
I am using v1.0 beta. Everything works except for the format. QDate shows the calendar. I want to have an input field.
-
I fixed it by changing style in app.styl:
.q-field__native {
margin-top: 6px
} -
No fixing needed. Just use “stack-label” as docs warn about.