feat: add dynamic optional fields support (#534)

Added a new component that renders fields based on the
field descriptions returned from backend

VAN-835
This commit is contained in:
Zainab Amir
2022-03-01 16:00:37 +05:00
committed by GitHub
parent 7e82785c7b
commit 6e99e1e72c
17 changed files with 740 additions and 7 deletions

View File

@@ -19,6 +19,7 @@ export const API_RATELIMIT_ERROR = 'api-ratelimit-error';
export const DEFAULT_STATE = 'default';
export const PENDING_STATE = 'pending';
export const COMPLETE_STATE = 'complete';
export const FAILURE_STATE = 'failure';
// Regex
export const VALID_EMAIL_REGEX = '(^[-!#$%&\'*+/=?^_`{}|~0-9A-Z]+(\\.[-!#$%&\'*+/=?^_`{}|~0-9A-Z]+)*'