This commit is contained in:
2021-11-01 22:11:47 +00:00
parent 95847c195a
commit efb8ce93e3
4 changed files with 30 additions and 62 deletions

View File

@@ -15,14 +15,12 @@
:rules="rules"
readonly
:error="!!hasErrors"
:data-cy="'dtfpick:' + testId"
></v-text-field>
</template>
<v-date-picker
:value="dateValue"
@input="updateDateValue"
:locale="languageName"
:data-cy="'dpick:' + testId"
>
<v-btn text color="primary" @click="$emit('input', null)">{{
$ay.t("Delete")
@@ -52,7 +50,7 @@
:rules="rules"
type="date"
:error-messages="errorMessages"
:data-cy="'dpick:' + testId"
:data-cy="`${dataCy}:time`"
></v-text-field>
</v-col>
</template>
@@ -90,7 +88,7 @@ export default {
value: { type: String, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
testId: { type: String, default: null }
dataCy: { type: String, default: null }
},
computed: {
hasErrors() {