Files
luban-lite-t3e-pro/packages/third-party/awtk-ui/awtk/docs/how_to_edit_date.md

23 lines
422 B
Markdown
Raw Normal View History

2025-09-30 11:56:06 +08:00
# 如何用 edit 控件编辑日期
用 edit 控件编辑日期,将 edit 的 input\_type 指定为"date"即可。
* 基本用法
示例:
```xml
<edit w="70%" text="2020/10/10" tips="date" input_type="date"/
```
* 启用自动修正功能
示例:
```xml
<edit w="70%" text="" tips="date autofix" input_type="date" auto_fix="true"/>
```
参考:[input type](manual/input_type_t.md)