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

@@ -14,7 +14,6 @@
@click:prepend="dlgtime = true"
readonly
:error="!!hasErrors"
:data-cy="'ttfpick:' + testId"
></v-text-field>
</template>
<v-time-picker
@@ -23,7 +22,6 @@
:format="hour12 ? 'ampm' : '24hr'"
:value="timeValue"
@input="updateTimeValue"
:data-cy="'tpick:' + testId"
><v-btn text color="primary" @click="$emit('input', null)">{{
$ay.t("Delete")
}}</v-btn>
@@ -48,7 +46,7 @@
:readonly="readonly"
:disabled="disabled"
type="time"
:data-cy="'tpick:' + testId"
:data-cy="`${dataCy}:time`"
></v-text-field>
</v-col>
</template>
@@ -88,7 +86,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() {