Skip to content

fix(searchinput): clean up props#3080

Merged
hevele-moda merged 1 commit intomasterfrom
ECOM-2215
Dec 1, 2022
Merged

fix(searchinput): clean up props#3080
hevele-moda merged 1 commit intomasterfrom
ECOM-2215

Conversation

@hevele-moda
Copy link
Copy Markdown
Contributor

Removes the 'onChangeValue' callback, 'onChange' can be used instead.
Also removes the useEffect that called onChangeValue.
Not confirmed, but this can be the source of a UI glitch that happens on the search bar intermittently.

ISSUES WORKED ON: ECOM-2215

BREAKING CHANGE: removed 'onChangeValue'

Removes the 'onChangeValue' callback, 'onChange' can be used instead.

BREAKING CHANGE: removed 'onChangeValue'
@hevele-moda hevele-moda requested a review from a team December 1, 2022 10:16
@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 1, 2022

Deploy Preview for moda-om-storybook ready!

Name Link
🔨 Latest commit 98c8417
🔍 Latest deploy log https://app.netlify.com/sites/moda-om-storybook/deploys/63887efda856ad00096f7620
😎 Deploy Preview https://deploy-preview-3080--moda-om-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@matanmoda
Copy link
Copy Markdown
Contributor

we should check/ remove usage of this onChangeValue in discovery and where its used

@hevele-moda
Copy link
Copy Markdown
Contributor Author

we should check/ remove usage of this onChangeValue in discovery and where its used

Yes, of course, this is a breaking change and all repos that use it might have to adjust.

@hevele-moda hevele-moda merged commit 3f3f645 into master Dec 1, 2022
@hevele-moda hevele-moda deleted the ECOM-2215 branch December 1, 2022 12:24
moda-automation-devops pushed a commit that referenced this pull request Dec 1, 2022
# [18.0.0](v17.14.2...v18.0.0) (2022-12-01)

### Bug Fixes

* **searchinput:** clean up props ([#3080](#3080)) ([3f3f645](3f3f645))

### BREAKING CHANGES

* **searchinput:** removed 'onChangeValue'
@ghost
Copy link
Copy Markdown

ghost commented Dec 1, 2022

🎉 This PR is included in version 18.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Dec 1, 2022
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.

3 participants