-
-
Notifications
You must be signed in to change notification settings - Fork 50.4k
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
Mention component does not have 'disabled' prop #5175
Closed
Labels
Accept
You are right, we should do that
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
Comments
没懂 有解决吗 |
afc163
added
Accept
You are right, we should do that
Enhancement
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
labels
Mar 24, 2017
@422809585mls Yep. |
Don't create duplicate issue if someone else already created one. |
This was referenced Mar 27, 2017
@RaoHai disabled 应该还需要样式配合? |
样式在 antd 里搞。待会我发一个大 PR。 |
RaoHai
added a commit
to RaoHai/ant-design
that referenced
this issue
May 3, 2017
#### FEATURES * use `ContentState` instead of `EditorState`, selection events won't trigger onChange anymore. * deprecated `Mention.toEditorState`, instead of `Mention.toContentState`, * `Mention.toEditorState` are compatibled, but have a warnning in console. #### ISSUES * `disabled` and `readOnly` props supported. * fixed controlled mode bug. * close ant-design#5788 * close ant-design#5175 * close #react-component/editor-mention#7
benjycui
pushed a commit
that referenced
this issue
May 5, 2017
#### FEATURES * use `ContentState` instead of `EditorState`, selection events won't trigger onChange anymore. * deprecated `Mention.toEditorState`, instead of `Mention.toContentState`, * `Mention.toEditorState` are compatibled, but have a warnning in console. #### ISSUES * `disabled` and `readOnly` props supported. * fixed controlled mode bug. * close #5788 * close #5175 * close #react-component/editor-mention#7
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Accept
You are right, we should do that
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
Environment
What did you expect?
Mention component should have a disabled prop - this is important for use in forms.
What happened?
Mention component does not have disabled prop.
Re-producible online demo
https://ant.design/components/mention/#API
The text was updated successfully, but these errors were encountered: