validation on Select field (#8316)
fix #8204 I changed "API keys" to "API values". Stopped inputting special characters in Select field option keys. @lucasbordeau please check the changes and tell me if I need to do any other changes. :) --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
@ -1 +1 @@
|
||||
export const METADATA_LABEL_VALID_PATTERN = /^[^0-9].*$/;
|
||||
export const METADATA_LABEL_VALID_PATTERN = /^.*$/;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const OPTION_VALUE_VALID_PATTERN = /^[a-zA-Z0-9]+$/;
|
||||
export const OPTION_VALUE_VALID_PATTERN = /^[A-Z_][A-Z0-9_]*$/;
|
||||
|
||||
Reference in New Issue
Block a user