Enter each value on a new line. {valueNoun} can be added.
= memo(props => {
>
{parsedValues.length === 1 ? '1 new value provided.' : `${parsedValues.length} new values provided.`}
+ {tooLongValue && (
+
+ Value exceeds maximum of {MAX_TEXT_CHOICE_VALUE_LENGTH} characters: "
+ {tooLongValue.substring(0, 50)}..."
+
+ )}
);
});
diff --git a/packages/components/src/internal/components/domainproperties/constants.ts b/packages/components/src/internal/components/domainproperties/constants.ts
index a3491e2a37..eaa144c869 100644
--- a/packages/components/src/internal/components/domainproperties/constants.ts
+++ b/packages/components/src/internal/components/domainproperties/constants.ts
@@ -233,6 +233,7 @@ export const DERIVATION_DATA_SCOPES = {
};
export const MAX_VALID_TEXT_CHOICES = 500;
+export const MAX_TEXT_CHOICE_VALUE_LENGTH = 200; // GitHub Issue 955: limit option length to 200
export const LOOKUP_VALIDATOR_VALUES = { type: 'Lookup', name: 'Lookup Validator' };