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

AutoComplete is not being decorated properly within a Form #5834

Closed
kossel opened this issue Apr 20, 2017 · 4 comments
Closed

AutoComplete is not being decorated properly within a Form #5834

kossel opened this issue Apr 20, 2017 · 4 comments
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.

Comments

@kossel
Copy link
Contributor

kossel commented Apr 20, 2017

Version

2.9.1

Environment

mac sierra, chrome latest

Reproduction link

http://codepen.io/kossel/pen/LyNyvy?editors=001

Steps to reproduce

Put AutoComplete into getFieldDecorator and do form validation

What is expected?

The border color gets decorated correctly just like any input

What is actually happening?

the border-color style get overwrited by something (still haven't found)

@kossel kossel changed the title AutoComplete is not decorated properly within a Form AutoComplete is not being decorated properly within a Form Apr 20, 2017
@benjycui benjycui added the help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. label May 3, 2017
@benjycui
Copy link
Contributor

benjycui commented May 3, 2017

I think that you can fix this @kossel , could you create a PR to fix it? Thanks.

@kossel
Copy link
Contributor Author

kossel commented May 3, 2017

I just did a quick look, looks like it is because .ant-select-auto-complete.ant-select .ant-input has more specificity than .has-error .ant-input, (3 vs 2) I can PR I think

@kossel
Copy link
Contributor Author

kossel commented May 4, 2017

here #6018

@benjycui benjycui closed this as completed May 5, 2017
@lock
Copy link

lock bot commented May 5, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.
Projects
None yet
Development

No branches or pull requests

3 participants