mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 13:37:22 +00:00
Fixes #4943 ## How was it tested? Local (front + /metadata) Unit tests for utils --------- Co-authored-by: Weiko <corentin@twenty.com>
4 lines
159 B
TypeScript
4 lines
159 B
TypeScript
const metadataLabelValidationPattern = /^[^0-9].*$/;
|
|
|
|
export const validateMetadataLabel = (value: string) =>
|
|
!!value.match(metadataLabelValidationPattern);
|