Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

fix: Messaging error/validation messages #134

Merged
merged 11 commits into from
Mar 28, 2024
10 changes: 8 additions & 2 deletions module/Olcs/src/Form/Model/Fieldset/Conversation.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@ class Conversation
public ?DynamicSelect $messageSubject = null;

/**
* @Form\Attributes({"class": "extra-long", "id": ""})
* @Form\Options({"label": "Message"})
* @Form\Attributes({
* "class": "extra-long",
* "id": "",
* "maxlength": 1000
* })
* @Form\Options({
* "label": "You can enter up to 1000 characters",
* })
* @Form\Type(Textarea::class)
* @Form\Filter(StringTrim::class)
* @Form\Validator("Laminas\Validator\NotEmpty",
Expand Down
Loading