Skip to content

Feat/chips input v2 #1490

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 38 commits into from
Nov 3, 2021
Merged

Feat/chips input v2 #1490

merged 38 commits into from
Nov 3, 2021

Conversation

mendyEdri
Copy link
Contributor

@mendyEdri mendyEdri commented Aug 23, 2021

Description

Added a few features to ChipsInput:

  • maxHeight for scrolling option
  • leftElement for ui like search icon etc'
  • migrated to typescript
  • using Chip component internally for a better ui and more convenient api
  • title that floating above the chips

Changelog

ChipsInput's tags will be deprecated, please use chipsProps instead.

Tasks

  • Create a wrapper in the private lib - with presets for inline / fullWidth
  • Add warning 'component-prop-deprecation_warn`'
  • add some info to migration.md
  • build one-app with this version

@ethanshar ethanshar requested review from Inbal-Tish and removed request for ethanshar October 20, 2021 05:18
@ethanshar ethanshar assigned Inbal-Tish and unassigned ethanshar Oct 20, 2021
@mendyEdri mendyEdri requested a review from Inbal-Tish October 24, 2021 11:30
@Inbal-Tish
Copy link
Collaborator

@mendyEdri What's the status on this one? Did you finish with my comments?

@mendyEdri
Copy link
Contributor Author

@mendyEdri What's the status on this one? Did you finish with my comments?

@Inbal-Tish Yes, if it passed don't merge it just yet, I want to test it in Spaces first. Thank you!

@Inbal-Tish
Copy link
Collaborator

@mendyEdri Hi. I don't see the last changes. Did you push?

@mendyEdri
Copy link
Contributor Author

@mendyEdri Hi. I don't see the last changes. Did you push?

Right, pushed

this.removeMarkedTag();
}
}

onKeyPress = (event: NativeSyntheticEvent<TextInputKeyPressEventData>) => {
_.invoke(this.props, 'onKeyPress', event);

const {disableTagRemoval} = this.props;
if (disableTagRemoval) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

this logic should move to removeTag method

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't see any changes here...

@mendyEdri mendyEdri requested a review from Inbal-Tish November 2, 2021 16:37
@mendyEdri mendyEdri merged commit 5f86d5e into master Nov 3, 2021
@mendyEdri mendyEdri removed the pending label Nov 9, 2021
@Inbal-Tish Inbal-Tish deleted the feat/chips-input-v2 branch December 6, 2021 07:47
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