refactor: use vuelidate for vue 3 in SlaTimeInput
This commit is contained in:
@@ -74,8 +74,8 @@ export default {
|
||||
computed: {
|
||||
thresholdTimeErrorMessage() {
|
||||
let errorMessage = '';
|
||||
if (this.$v.thresholdTime.$error) {
|
||||
if (!this.$v.thresholdTime.numeric || !this.$v.thresholdTime.minValue) {
|
||||
if (this.v$.thresholdTime.$error) {
|
||||
if (!this.v$.thresholdTime.numeric || !this.v$.thresholdTime.minValue) {
|
||||
errorMessage = this.$t(
|
||||
'SLA.FORM.THRESHOLD_TIME.INVALID_FORMAT_ERROR'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user