Skip to content

Could not get date value #16991

Discussion options

You must be logged in to vote

Ok, so after reading few topics I have finally found the best approach to use date input with respect to the custom date format.

<template>
    <q-input borderless dense clearable filled v-model="myDate" label="Date" class="q-pl-md">
        <template v-slot:append>
            <q-icon name="event" class="cursor-pointer">
                <q-popup-proxy cover transition-show="scale" transition-hide="scale">
                    <q-date minimal v-model="myDate" :mask="dateFormat">
                        <div class="row items-center justify-end">
                            <q-btn v-close-popup label="Close" color="primary" flat />
                        </div>
                    </q-date>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fairking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant