message: validation of string supports maxlength
diff: @@ -32,6 +32,10 @@ const ValidationAnswerTypeString = ({ item }: Props): JSX.Element => {
  dispatch(updateItemAction(item.linkId, IItemProperty.extension, newExtention));
  };
  + const updateMaxLength = (number: number) => {
  + dispatch(updateItemAction(item.linkId, IItemProperty.maxLength, number));
  + };
  +
  const validationText = item?.extension?.find((x) => x.url === IValidationType.validationtext)?.valueString || '';
  const selectedRegEx = item?.extension?.find((x) => x.url === IValidationType.regEx)?.valueString || '';
  @@ -82,6 +86,14 @@ const ValidationAnswerTypeString = ({ item }: Props): JSX.Element => {
  }}
  />
  </FormField>
  + <FormField label="Maximum antall tegn">
  + <input
  + value={item.maxLength || ''}
  + type="input"
  + aria-label="maximum sign"
  + onChange={(e) => updateMaxLength(parseInt(e.target.value.toString()))}
  + ></input>
  + </FormField>
  </>
  );
  };
  