We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Les règles de validation notAfterToday et notBeforeToday ne fonctionnent pas avec date-format-return.
notAfterToday
notBeforeToday
date-format-return
<script setup lang="ts"> import {DatePicker, notAfterToday} from '@cnamts/synapse-bridge' import {SubmitEventPromise} from "vuetify"; const date = ref(undefined) const dateFormatted = ref(undefined) async function submitForm(event: SubmitEventPromise): Promise<void> { const submitResult = await event if (submitResult.valid) { alert("valid") } } </script> <template> <v-form @submit.prevent="submitForm" > <DatePicker v-model="date" :rules="[notAfterToday]" label="Working"/> <DatePicker v-model="dateFormatted" :rules="[notAfterToday]" date-format-return="YYYY-MM-DD" label="Not working"/> <button type="submit">Rechercher</button> </v-form> </template>
Le champ avec le format de retour différent est bloqué selon la règle.
Refonte RENTE
lpercin@norsys.fr - Dev. Front refonte Rentes
The text was updated successfully, but these errors were encountered:
VachetVirginie
Successfully merging a pull request may close this issue.
Description
Les règles de validation
notAfterToday
etnotBeforeToday
ne fonctionnent pas avecdate-format-return
.Comment reproduire
notAfterToday
et/ounotBeforeToday
date-format-return
avec un format différent que celui de baseReproduction minimale
Comportement attendu
Le champ avec le format de retour différent est bloqué selon la règle.
Captures d'écran
Projet
Refonte RENTE
Contacts
lpercin@norsys.fr - Dev. Front refonte Rentes
The text was updated successfully, but these errors were encountered: