Skip to content
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

fix(input-item): limit the length of characters entered by the virtual keyboard #525

Merged
merged 2 commits into from
Aug 3, 2019

Conversation

xxyan0205
Copy link
Collaborator

背景描述

当使用虚拟键盘向InputItem输入字符时,maxlength无法限制字符长度。

ps: 初始化赋值已限制字符长度

主要改动

在键盘输入事件时增加字符长度校验

需要注意

@xxyan0205 xxyan0205 requested review from moyus, gebilaoxiong and supergaojian and removed request for moyus August 2, 2019 09:14
@codecov-io
Copy link

Codecov Report

Merging #525 into dev will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #525      +/-   ##
==========================================
+ Coverage   81.13%   81.15%   +0.01%     
==========================================
  Files          91       91              
  Lines        2720     2722       +2     
  Branches      521      522       +1     
==========================================
+ Hits         2207     2209       +2     
  Misses        367      367              
  Partials      146      146
Impacted Files Coverage Δ
components/input-item/index.vue 95.03% <100%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9251c5a...cff126b. Read the comment docs.

@xxyan0205 xxyan0205 merged commit bb487cf into dev Aug 3, 2019
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.

3 participants