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(GRANITE-32443): Add min property in coral-multifield component #162

Merged
merged 12 commits into from
Apr 23, 2021
Merged

fix(GRANITE-32443): Add min property in coral-multifield component #162

merged 12 commits into from
Apr 23, 2021

Conversation

Pareesh
Copy link
Collaborator

@Pareesh Pareesh commented Apr 3, 2021

This PR provides support where consumer wants to shows at least n multifield items.

Description

This PR adds a min property to coral-multifield component. This will be used if a consumer wants to display atleast n-items. If the coral-mulltifield component contains items less than specified min value, the remaining empty items will added. The validation will be done when component is connected to DOM tree, this is done to avoid unnecessary addition of items resulting if will validate on construct.

Related Issue

GRANITE-32443

Review

@review @icaraps @CezCz @majornista

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@Pareesh Pareesh changed the title fix(GRANITE-32443): Added multifield min property fix(GRANITE-32443): Add min property in coral-multifield component Apr 5, 2021
@Pareesh
Copy link
Collaborator Author

Pareesh commented Apr 5, 2021

The failing test case does not relates to the changes

@majornista majornista self-requested a review April 20, 2021 17:37
@indra2gurjar indra2gurjar merged commit 819a6b4 into adobe:master Apr 23, 2021
github-actions bot pushed a commit that referenced this pull request Apr 23, 2021
## [4.10.19](v4.10.18...v4.10.19) (2021-04-23)

### Bug Fixes

* **GRANITE-32443:** Add `min` property in coral-multifield component ([#162](#162)) ([819a6b4](819a6b4))
@github-actions
Copy link

🎉 This PR is included in version 4.10.19 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants