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

Select: fix slice of value when value is undefined or null #15022

Merged
merged 1 commit into from
Apr 23, 2019

Conversation

luckyCao
Copy link
Contributor

@luckyCao luckyCao commented Apr 9, 2019

check if value is empty before slice it
Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

@element-bot
Copy link
Member

element-bot commented Apr 9, 2019

Deploy preview for element ready!

Built with commit 7ad740a

https://deploy-preview-15022--element.netlify.com

@luckyCao luckyCao requested review from iamkun and ziyoung April 9, 2019 07:52
@wacky6
Copy link
Contributor

wacky6 commented Apr 9, 2019

Please add a unit test.

@luckyCao
Copy link
Contributor Author

Thanks remind

@luckyCao
Copy link
Contributor Author

@wacky6 unit test added

@ziyoung
Copy link
Contributor

ziyoung commented Apr 22, 2019

@luckyCao 代码冲突了。

@ziyoung ziyoung merged commit 6ecf925 into ElemeFE:dev Apr 23, 2019
FAKER-A pushed a commit to FAKER-A/element that referenced this pull request May 7, 2019
@luckyCao luckyCao deleted the fix-select branch May 15, 2019 03:58
weisiren168 pushed a commit to weisiren168/element that referenced this pull request Jun 20, 2019
lzq4047 pushed a commit to lzq4047/element that referenced this pull request May 22, 2020
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.

None yet

4 participants