diff --git a/en/react-native-ohos-community-auto-fill.md b/en/react-native-ohos-community-auto-fill.md index 9c79297e7214009c4e86c391776c35606668fad6..3a4d0c985cdd156329ab72384f23e6c6cb3b431b 100644 --- a/en/react-native-ohos-community-auto-fill.md +++ b/en/react-native-ohos-community-auto-fill.md @@ -297,4 +297,14 @@ auto-fill exposes only the **autoSave** API, which is used to save the current f ## License -This project is licensed under [Apache License 2.0](https://github.com/react-native-oh-library/auto-fill/blob/sig/LICENSE). \ No newline at end of file +This project is licensed under [Apache License 2.0](https://github.com/react-native-oh-library/auto-fill/blob/sig/LICENSE). + +## Legacy issue +The following three attributes can save information to Phone Settings - Privacy & Security - Smart Fill - History Forms, but they cannot automatically fill into text input controls. Currently, this issue also exists in the native functionality of HarmonyOS. +```js +{ + "addressCity": CITY_ADDRESS, // City + "addressState": PROVINCE_ADDRESS, // Province + "countryName": COUNTRY_ADDRESS, // Country +} +``` \ No newline at end of file diff --git a/zh-cn/react-native-ohos-community-auto-fill.md b/zh-cn/react-native-ohos-community-auto-fill.md index 84052afee10687ea9bf625b2ceeb8cd40e3f5cd1..0c25bb6a077d0a581a70175c27e4749a158f7512 100644 --- a/zh-cn/react-native-ohos-community-auto-fill.md +++ b/zh-cn/react-native-ohos-community-auto-fill.md @@ -291,3 +291,15 @@ auto-fill 仅暴露一个 autoSave 接口,用于保存当前表单信息 ## 开源协议 本项目基于 [Apache License 2.0](https://github.com/react-native-oh-library/auto-fill/blob/sig/LICENSE) ,请自由地享受和参与开源。 + +## 遗留问题 +以下三个属性可以将信息保存到手机设置-隐私安全-智能填充-历史表单中,但是无法自动填充到textinput控件中,目前在HarmonyOS原生功能也有这个问题 +```js +// key 值为 RN 侧 textContentType 值, +// value 值为 HarmonyOS 侧 ContentType 值 +{ + "addressCity": CITY_ADDRESS, // 市 + "addressState": PROVINCE_ADDRESS, // 省 + "countryName": COUNTRY_ADDRESS, // 国家 +} +``` \ No newline at end of file