mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add support for app-required field state (#7166)
* Add "required" option to fields * Move some exceptions to shared * Do client side validation for required * Add conditional required support
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { ErrorRequestHandler } from 'express';
|
||||
import { emitAsyncSafe } from '../emitter';
|
||||
import env from '../env';
|
||||
import { BaseException, MethodNotAllowedException } from '../exceptions';
|
||||
import { MethodNotAllowedException } from '../exceptions';
|
||||
import { BaseException } from '@directus/shared/exceptions';
|
||||
import logger from '../logger';
|
||||
import { toArray } from '../utils/to-array';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user