mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Update: Vue 2 to Vue 3 with Typescript, node 14 to node 22, Jenkinsfile, Dockerfile, vapor.yml
This commit is contained in:
@@ -90,7 +90,7 @@ import { useComponentHandler } from '@/composables/useComponentHandler';
|
||||
import { useFormHandler } from '@/composables/useFormHandler';
|
||||
import { useAuthStore } from '@/stores/auth';
|
||||
import { useVuelidate } from '@vuelidate/core';
|
||||
import { required, requiredIf, minValue } from '@vuelidate/validators';
|
||||
import { required, requiredIf } from '@vuelidate/validators';
|
||||
import route from '@/general/functions/router';
|
||||
|
||||
interface Props {
|
||||
@@ -132,7 +132,7 @@ const rules = computed(() => ({
|
||||
parameters: {
|
||||
amount: {
|
||||
required,
|
||||
minValue: minValue(minAllowedAmount.value)
|
||||
minValue: 0
|
||||
},
|
||||
reference: {
|
||||
required: requiredIf(() => parameters.value.transaction_type !== 0)
|
||||
|
||||
Reference in New Issue
Block a user