Hot fix allow accessbility value of name input identity creator view
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -316,6 +316,7 @@ class IdentityCreatorController extends BaseController with DragDropFileMixin im
|
|||||||
void _setUpValueFromIdentity() {
|
void _setUpValueFromIdentity() {
|
||||||
_nameIdentity = identity?.name ?? '';
|
_nameIdentity = identity?.name ?? '';
|
||||||
inputNameIdentityController.text = identity?.name ?? '';
|
inputNameIdentityController.text = identity?.name ?? '';
|
||||||
|
errorNameIdentity.value = '';
|
||||||
|
|
||||||
if (identity?.signatureAsString.isNotEmpty == true) {
|
if (identity?.signatureAsString.isNotEmpty == true) {
|
||||||
updateContentHtmlEditor(arguments?.identity?.signatureAsString ?? '');
|
updateContentHtmlEditor(arguments?.identity?.signatureAsString ?? '');
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ class IdentityInputDecorationBuilder extends InputDecorationBuilder {
|
|||||||
isDense: true,
|
isDense: true,
|
||||||
hintStyle: hintStyle ?? const TextStyle(color: AppColor.colorHintInputCreateMailbox, fontSize: 16),
|
hintStyle: hintStyle ?? const TextStyle(color: AppColor.colorHintInputCreateMailbox, fontSize: 16),
|
||||||
contentPadding: contentPadding ?? const EdgeInsets.symmetric(horizontal: 12, vertical: 12),
|
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),
|
errorStyle: errorTextStyle ?? const TextStyle(color: AppColor.colorInputBorderErrorVerifyName, fontSize: 13),
|
||||||
filled: true,
|
filled: true,
|
||||||
fillColor: errorText?.isNotEmpty == true
|
fillColor: errorText?.isNotEmpty == true
|
||||||
|
|||||||
Reference in New Issue
Block a user