This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user