mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
!48313 输入框Password和NEW_PASSWORD模式不进行Filter
Merge pull request !48313 from wjn/text_input_password_filter
This commit is contained in:
commit
66319ed4e0
@ -143,10 +143,9 @@ void ContentController::FilterTextInputStyle(bool& textChanged, std::string& res
|
||||
break;
|
||||
}
|
||||
case TextInputType::VISIBLE_PASSWORD:
|
||||
case TextInputType::NEW_PASSWORD: {
|
||||
textChanged |= FilterWithAscii(result);
|
||||
break;
|
||||
}
|
||||
case TextInputType::NEW_PASSWORD:
|
||||
break;
|
||||
case TextInputType::NUMBER_PASSWORD: {
|
||||
textChanged |= FilterWithEvent(DIGIT_WHITE_LIST, result);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user