Files
MAX_CARLINK_A270S/MXC_A27-PCB4.5-270S/lib/awtk/awtk/docs/how_to_edit_date.md
2025-01-21 16:49:37 +08:00

23 lines
400 B
Markdown

# 如何用 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)