Skip to content

fix: input show-word-limit 默认 false #1203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2022
Merged

fix: input show-word-limit 默认 false #1203

merged 1 commit into from
Apr 15, 2022

Conversation

wlchn
Copy link
Contributor

@wlchn wlchn commented Apr 14, 2022

这个 PR 做了什么? (简要描述所做更改)
修改input的show-word-limit默认为false,与官方文档、之前版本一致。
之前版本默认为false(官方文档默认为false)。
如果之前设置了maxLength并升级了这个版本,可能会意外出现这个字数提示,引起ui异常,如下图所示。
问题表现:升级后
image
升级前
image

这个 PR 是什么类型? (至少选择一个)

  • 错误修复(Bugfix) issue id #
  • 新功能(Feature)
  • 代码重构(Refactor)
  • TypeScript 类型定义修改(Typings)
  • 文档修改(Docs)
  • 代码风格更新(Code style update)
  • 其他,请描述(Other, please describe):

这个 PR 涉及以下平台:

  • NutUI 2.0
  • NutUI 3.0 H5
  • NutUI 3.0 小程序

这个 PR 是否已自测:

@wlchn
Copy link
Contributor Author

wlchn commented Apr 14, 2022

文档中的show-word-limit为false,
image

@richard1015 richard1015 requested a review from ailululu April 15, 2022 08:42
@richard1015 richard1015 merged commit da80403 into jd-opensource:next Apr 15, 2022
yangxiaolu1993 added a commit that referenced this pull request Apr 24, 2022
* feat: 冲突解决 (#2)

* fix(uploader): taro h5 env upload error #1096

* fix: taro 3.4.6 sass calc error #1200

* fix(uploader): taro env formdata type error

* chore: add international components signature

* chore: add international components ecard

* chore: add international components timeselect

* chore: add international components sku

* fix: demo textarea 自适应 (#1201)

* feat: add translations chinese traditional

* docs: open international

* fix: input show-word-limit default false (#1203)

* refactor(circleprogress): add features (#1204)

* fix(popup): 修复popup在Taro转H5下的渲染问题

* feat: avatar能力补齐、input doc文档更新 (#1195)

* fix: 修改input单元测试

* fix: 增加avatar group

* fix: 更新input md

* fix: avatar能力补齐

* fix: avatar能力补齐、适配taro

* feat: 迁移 AddressList、Category 组件,适配taro

* fix: 修改input md

Co-authored-by: richard1015 <[email protected]>

* chore: add international components addresslist

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>

* feat: picker与DatePicker新增slot插槽

* fix: datepicker 问题修改

* fix: infiniteloading issue 问题修改(#1189)

* fix: countdown 问题修改

* feat: 冲突解决

* feat: 初版

* feat: countdown 单元测试

* feat: 文档补齐

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>
yangxiaolu1993 added a commit that referenced this pull request Apr 24, 2022
* feat: 冲突解决 (#2)

* fix(uploader): taro h5 env upload error #1096

* fix: taro 3.4.6 sass calc error #1200

* fix(uploader): taro env formdata type error

* chore: add international components signature

* chore: add international components ecard

* chore: add international components timeselect

* chore: add international components sku

* fix: demo textarea 自适应 (#1201)

* feat: add translations chinese traditional

* docs: open international

* fix: input show-word-limit default false (#1203)

* refactor(circleprogress): add features (#1204)

* fix(popup): 修复popup在Taro转H5下的渲染问题

* feat: avatar能力补齐、input doc文档更新 (#1195)

* fix: 修改input单元测试

* fix: 增加avatar group

* fix: 更新input md

* fix: avatar能力补齐

* fix: avatar能力补齐、适配taro

* feat: 迁移 AddressList、Category 组件,适配taro

* fix: 修改input md

Co-authored-by: richard1015 <[email protected]>

* chore: add international components addresslist

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>

* feat: picker与DatePicker新增slot插槽

* fix: datepicker 问题修改

* fix: infiniteloading issue 问题修改(#1189)

* fix: countdown 问题修改

* feat: 冲突解决

* feat: 初版

* feat: countdown 单元测试

* feat: 文档补齐

* fix: datepicker 初始化时平铺展示 bug 修改

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>
yangxiaolu1993 added a commit that referenced this pull request Apr 24, 2022
* feat: 冲突解决 (#2)

* fix(uploader): taro h5 env upload error #1096

* fix: taro 3.4.6 sass calc error #1200

* fix(uploader): taro env formdata type error

* chore: add international components signature

* chore: add international components ecard

* chore: add international components timeselect

* chore: add international components sku

* fix: demo textarea 自适应 (#1201)

* feat: add translations chinese traditional

* docs: open international

* fix: input show-word-limit default false (#1203)

* refactor(circleprogress): add features (#1204)

* fix(popup): 修复popup在Taro转H5下的渲染问题

* feat: avatar能力补齐、input doc文档更新 (#1195)

* fix: 修改input单元测试

* fix: 增加avatar group

* fix: 更新input md

* fix: avatar能力补齐

* fix: avatar能力补齐、适配taro

* feat: 迁移 AddressList、Category 组件,适配taro

* fix: 修改input md

Co-authored-by: richard1015 <[email protected]>

* chore: add international components addresslist

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>

* feat: picker与DatePicker新增slot插槽

* fix: datepicker 问题修改

* fix: infiniteloading issue 问题修改(#1189)

* fix: countdown 问题修改

* feat: 冲突解决

* feat: 初版

* feat: countdown 单元测试

* feat: 文档补齐

* fix: datepicker 初始化时平铺展示 bug 修改

* feat: git action 增加 doc.en-US 文件复制

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>
yangxiaolu1993 added a commit that referenced this pull request Apr 25, 2022
* feat: 冲突解决 (#2)

* fix(uploader): taro h5 env upload error #1096

* fix: taro 3.4.6 sass calc error #1200

* fix(uploader): taro env formdata type error

* chore: add international components signature

* chore: add international components ecard

* chore: add international components timeselect

* chore: add international components sku

* fix: demo textarea 自适应 (#1201)

* feat: add translations chinese traditional

* docs: open international

* fix: input show-word-limit default false (#1203)

* refactor(circleprogress): add features (#1204)

* fix(popup): 修复popup在Taro转H5下的渲染问题

* feat: avatar能力补齐、input doc文档更新 (#1195)

* fix: 修改input单元测试

* fix: 增加avatar group

* fix: 更新input md

* fix: avatar能力补齐

* fix: avatar能力补齐、适配taro

* feat: 迁移 AddressList、Category 组件,适配taro

* fix: 修改input md

Co-authored-by: richard1015 <[email protected]>

* chore: add international components addresslist

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>

* feat: picker与DatePicker新增slot插槽

* fix: datepicker 问题修改

* fix: infiniteloading issue 问题修改(#1189)

* fix: countdown 问题修改

* feat: 冲突解决

* feat: 初版

* feat: countdown 单元测试

* feat: 文档补齐

* fix: datepicker 初始化时平铺展示 bug 修改

* feat: git action 增加 doc.en-US 文件复制

* fix: 单元测试

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>
yangxiaolu1993 added a commit that referenced this pull request Apr 25, 2022
* feat: 冲突解决 (#2)

* fix(uploader): taro h5 env upload error #1096

* fix: taro 3.4.6 sass calc error #1200

* fix(uploader): taro env formdata type error

* chore: add international components signature

* chore: add international components ecard

* chore: add international components timeselect

* chore: add international components sku

* fix: demo textarea 自适应 (#1201)

* feat: add translations chinese traditional

* docs: open international

* fix: input show-word-limit default false (#1203)

* refactor(circleprogress): add features (#1204)

* fix(popup): 修复popup在Taro转H5下的渲染问题

* feat: avatar能力补齐、input doc文档更新 (#1195)

* fix: 修改input单元测试

* fix: 增加avatar group

* fix: 更新input md

* fix: avatar能力补齐

* fix: avatar能力补齐、适配taro

* feat: 迁移 AddressList、Category 组件,适配taro

* fix: 修改input md

Co-authored-by: richard1015 <[email protected]>

* chore: add international components addresslist

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>

* feat: picker与DatePicker新增slot插槽

* fix: datepicker 问题修改

* fix: infiniteloading issue 问题修改(#1189)

* fix: countdown 问题修改

* feat: 冲突解决

* feat: 初版

* feat: countdown 单元测试

* feat: 文档补齐

* fix: datepicker 初始化时平铺展示 bug 修改

* feat: git action 增加 doc.en-US 文件复制

* fix: 单元测试

* fix: cascader 组件完善

* feat: cascader taro 适配

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>
yangxiaolu1993 added a commit that referenced this pull request May 9, 2022
* feat: 冲突解决 (#2)

* fix(uploader): taro h5 env upload error #1096

* fix: taro 3.4.6 sass calc error #1200

* fix(uploader): taro env formdata type error

* chore: add international components signature

* chore: add international components ecard

* chore: add international components timeselect

* chore: add international components sku

* fix: demo textarea 自适应 (#1201)

* feat: add translations chinese traditional

* docs: open international

* fix: input show-word-limit default false (#1203)

* refactor(circleprogress): add features (#1204)

* fix(popup): 修复popup在Taro转H5下的渲染问题

* feat: avatar能力补齐、input doc文档更新 (#1195)

* fix: 修改input单元测试

* fix: 增加avatar group

* fix: 更新input md

* fix: avatar能力补齐

* fix: avatar能力补齐、适配taro

* feat: 迁移 AddressList、Category 组件,适配taro

* fix: 修改input md

Co-authored-by: richard1015 <[email protected]>

* chore: add international components addresslist

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>

* feat: picker与DatePicker新增slot插槽

* fix: datepicker 问题修改

* fix: infiniteloading issue 问题修改(#1189)

* fix: countdown 问题修改

* feat: 冲突解决

* feat: 初版

* feat: countdown 单元测试

* feat: 文档补齐

* fix: datepicker 初始化时平铺展示 bug 修改

* feat: git action 增加 doc.en-US 文件复制

* fix: 单元测试

* fix: cascader 组件完善

* feat: cascader taro 适配

* feat: infiniteloading 国际化修改

* feat: 通告栏

* feat: infiniteloading 增加slot

* feat: infiniteloading 添加 slot

Co-authored-by: richard1015 <[email protected]>
Co-authored-by: Ymm <[email protected]>
Co-authored-by: Lei Wang <[email protected]>
Co-authored-by: Drjingfubo <[email protected]>
Co-authored-by: suzigang <[email protected]>
Co-authored-by: ailululu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants