mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 10:58:21 +00:00
Remove old Validation
This commit is contained in:
parent
07439b094d
commit
e34efd916c
1 changed files with 0 additions and 6 deletions
|
@ -1,5 +1,3 @@
|
||||||
import { toFormValidator } from '@vee-validate/zod';
|
|
||||||
import * as zod from 'zod';
|
|
||||||
import { SearchProvider, Options } from '~/components/input/DropdownInput.vue';
|
import { SearchProvider, Options } from '~/components/input/DropdownInput.vue';
|
||||||
import { apiCall } from './api';
|
import { apiCall } from './api';
|
||||||
|
|
||||||
|
@ -343,10 +341,6 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
'dns_servers': {
|
'dns_servers': {
|
||||||
name: 'DNS Server',
|
name: 'DNS Server',
|
||||||
idType: 'Number',
|
idType: 'Number',
|
||||||
validationSchema: toFormValidator(
|
|
||||||
zod.object({
|
|
||||||
}),
|
|
||||||
),
|
|
||||||
fields: {
|
fields: {
|
||||||
interface: { is: 'SingleSelect', label: 'Interface', props: { searchProvider: GetInterfaces} },
|
interface: { is: 'SingleSelect', label: 'Interface', props: { searchProvider: GetInterfaces} },
|
||||||
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||||
|
|
Loading…
Add table
Reference in a new issue