Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(uni-app-x web): input、textarea maxlength逻辑调整
1. 默认值调整为w3c规范一样,默认为不限制长度 2. 初始value值也受maxlength限制(w3c规范不受maxlength限制) 3. maxlength调整默认后,设置非法值时按默认值处理 4. 合法值是0和正整数。负数是非法值,按不限制对待。但正小数,是取整对待(不是四舍五入)
- Loading branch information