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

Implement min / max tags and validation - Fixes #226 #229

Closed
wants to merge 1 commit into from

Conversation

alexandernst
Copy link
Contributor

This is based on the changes in PR #228

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.6%) to 96.732% when pulling 42e37da on Develatio:min_max_tags into 8b517ab on i-like-robots:master.

@coveralls
Copy link

coveralls commented Nov 15, 2020

Coverage Status

Coverage decreased (-0.6%) to 98.693% when pulling 662928f on Develatio:min_max_tags into 8b517ab on i-like-robots:master.

@alexandernst
Copy link
Contributor Author

@i-like-robots the -0.6% comes from the private method. I'm not really sure if/how I can make the code coverage cover that.

border: 1px solid green;
}

.react-tags.react-tags__invalid {
Copy link
Owner

Choose a reason for hiding this comment

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

I think we should name these classes is-valid and is-invalid

validationState
})
}
}
Copy link
Owner

Choose a reason for hiding this comment

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

I don't think we need to store this in state, because the implementation of _getValidationState() is so simple I think it's safe to call within render().

@Stvad
Copy link

Stvad commented Feb 4, 2021

Are there any updates on this? also linking to #226

@rikardkling
Copy link

Also wondering if there are any updates on this?

@i-like-robots i-like-robots added this to the 7.0.0 milestone Jul 4, 2021
@i-like-robots i-like-robots removed this from the 7.0.0 milestone May 4, 2022
@i-like-robots
Copy link
Owner

Closing as validation is now supported in v7.

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

5 participants