I am currently using Quasar within a Vue2.JS project. I have implemented a QDate component connected to a QPopupEdit, which includes buttons for canceling and setting the date. I am looking to trigger a specific function when the "set" button is clicked. If a certain condition is met, I would like to prevent this action without hiding the QDate and QPopupEdit components.
Below is the code snippet:
<QPopupEdit
v-model="displayBirthday"
buttons
:label-set="$t('set')"
:label-cancel="$t('cancel')"
>
<QDate
:ref="'test'"
v-model="displayBirthday"
minimal
class="no-shadow"
mask="DD/MM/YYYY"
:locale="locale"
/>
</QPopupEdit>
Any assistance would be greatly appreciated.