Problem:
Each property has a datatype associated with it. Each datatype has a configurable length limit. We should obey it to avoid the case where a user enters a string longer than the allowed limit and the edit then gets rejected by the repository API.
BDD
GIVEN we are editing a string property value with the Data Bridge
WHEN typing input that exceeds the length limit of the string data type
THEN the input field does not accept any additional text
GIVEN we are editing a string property value with the Data Bridge
WHEN pasting input that exceeds the length limit of the string data type
THEN only the first $limit characters are accepted in the input field and the rest is discarded
Acceptance criteria:
- input field does not accept input longer than the length limit of the data type
- length is determined based on repository setting