refactor: use vuelidate for vue 3 in SlaTimeInput

This commit is contained in:
Shivam Mishra
2024-07-24 16:59:37 +05:30
parent 45ff41a6ae
commit b5bdb00e44
@@ -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'
);