Hot fix allow accessbility value of name input identity creator view

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-05-22 15:20:18 +07:00
committed by Dat H. Pham
parent 798f570491
commit fa876b5a38
2 changed files with 2 additions and 1 deletions
@@ -316,6 +316,7 @@ class IdentityCreatorController extends BaseController with DragDropFileMixin im
void _setUpValueFromIdentity() {
_nameIdentity = identity?.name ?? '';
inputNameIdentityController.text = identity?.name ?? '';
errorNameIdentity.value = '';
if (identity?.signatureAsString.isNotEmpty == true) {
updateContentHtmlEditor(arguments?.identity?.signatureAsString ?? '');
@@ -27,7 +27,7 @@ class IdentityInputDecorationBuilder extends InputDecorationBuilder {
isDense: true,
hintStyle: hintStyle ?? const TextStyle(color: AppColor.colorHintInputCreateMailbox, fontSize: 16),
contentPadding: contentPadding ?? const EdgeInsets.symmetric(horizontal: 12, vertical: 12),
errorText: errorText,
errorText: errorText?.isNotEmpty == true ? errorText : null,
errorStyle: errorTextStyle ?? const TextStyle(color: AppColor.colorInputBorderErrorVerifyName, fontSize: 13),
filled: true,
fillColor: errorText?.isNotEmpty == true