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 warnings related to autoCorrect and autoCapitalize #4295

Merged
merged 3 commits into from
May 27, 2021

Conversation

dubzzz
Copy link
Contributor

@dubzzz dubzzz commented May 26, 2021

Description
A clear and concise description of what this pull request solves. (Please do not just link to a long issue thread. Instead include a clear description here or your pull request will likely not be reviewed as quickly.)

Wile running tets in Jest, I received multiple warning related to issues on autoCorrect and autoCapitalize. It appears there was already an opened issue on this subject.

Related warnings are:

Warning: Received `false` for a non-boolean attribute `autoCorrect`.
Warning: Received `false` for a non-boolean attribute `autoCapitalize`.

Issue
Fixes: #4248

Example
A GIF or video showing the old and new behaviors after this pull request is merged. Or a code sample showing the usage of a new API. (If you don't include this, your pull request will not be reviewed as quickly, because it's much too hard to figure out exactly what is going wrong, and it makes maintenance much harder.)

Context
If your change is non-trivial, please include a description of how the new logic works, and why you decided to solve it the way you did. (This is incredibly helpful so that reviewers don't have to guess your intentions based on the code, and without it your pull request will likely not be reviewed as quickly.)

Checks

  • The new code matches the existing patterns and styles.
  • The tests pass with yarn test.
  • The linter passes with yarn lint. (Fix errors with yarn fix.)
  • The relevant examples still work. (Run examples with yarn start.)
  • You've added a changeset if changing functionality. (Add one with yarn changeset add.)

@changeset-bot
Copy link

changeset-bot bot commented May 26, 2021

🦋 Changeset detected

Latest commit: 8308f5e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
slate-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Collaborator

@clauderic clauderic left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution 👍

@clauderic clauderic merged commit dfc0396 into ianstormtaylor:main May 27, 2021
@github-actions github-actions bot mentioned this pull request May 27, 2021
@dubzzz
Copy link
Contributor Author

dubzzz commented May 27, 2021

Thanks a lot for the quick approval 👍

@dubzzz dubzzz deleted the fix-autoCorrect-warnings branch May 27, 2021 07:35
@macrozone
Copy link
Contributor

can we get this released?

dylans pushed a commit to dylans/slate that referenced this pull request Sep 13, 2021
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.

Warning: Received false for a non-boolean attribute autoCorrect.
3 participants