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

[ios]fix maxlength issues #3312

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

yuditxj
Copy link
Contributor

@yuditxj yuditxj commented Sep 2, 2022

Brief Description of the PR

maxlength=5, but set the default value to 12 lengths. Before the 5th character, pasting 10 characters directly will result in
As a result, the length of leftLength=17 is larger than the position of the cursor and larger than maxleng, and the extra characters need to be filtered.

Checklist

  • Demo:
  • Documentation:

@Txink
Copy link
Collaborator

Txink commented Sep 23, 2022

逻辑上看OK的,麻烦修改下注释,CI会有中文卡口

@yuditxj yuditxj force-pushed the fixeditcomponent_maxlength_issues branch from 693fde0 to bd4311f Compare September 27, 2022 01:35
@yuditxj
Copy link
Contributor Author

yuditxj commented Sep 27, 2022

逻辑上看OK的,麻烦修改下注释,CI会有中文卡口

已修改

Copy link
Collaborator

@Txink Txink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Txink Txink merged commit 2d5953e into alibaba:master Sep 28, 2022
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