yangyxd / FMXUI

FMX跨平台基础UI库
MIT License
261 stars 98 forks source link

Bug TEditView - Password True #6

Closed marlonnardi closed 5 years ago

marlonnardi commented 5 years ago

the component does not behave the way it expects when entered password True. The same is bugged when the text is deleted.

Delphi 10.3 Version 26.0.32429.4364 Android 8.0 - Moto g6

marlonnardi commented 5 years ago

[SOLVED] UI.Edit.pas -> Line 549

{$IFDEF ANDROID} function PackText(const AText: string): string; begin if not AText.IsEmpty then begin //Result := Format('[%d]%s', [AText.Length, AText]); Result := Format('%s', [AText]); end else Result := string.Empty; end; {$ENDIF}

yangyxd commented 5 years ago

You are right. Thank you.