-
Notifications
You must be signed in to change notification settings - Fork 168
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
Add an example of Material UI TextField integration #131
base: master
Are you sure you want to change the base?
Conversation
Removed the `defaultValue` prop, since it is already a part of the `TextFieldProps`.
@TrejGun can you check this again? |
LGTM |
@TrejGun can you approve the PR? |
sorry did not realize i'm blocking it from being merged |
@TrejGun I've had to merge with |
sure :) |
@TrejGun what is needed to merge this? The Run Unit Tests isn't running which at least is required to allow merging. |
I believe you need review of @niuware not mine :) |
@niuware can you review this as well? |
I've integrated mui-rte editor in a form I built. I wanted it to have the same style and behaviour as the other Material UI form elements. Preferably also with similar code usage.
Material UI describes how 3rd party libraries can integrate with its
TextField
component. Which is in itself composed using other input components default available in Material UI. I wrappedMUIRichTextEditor
in a customRichTextField
component that is setup according to the Material UITextField
integration.The
RichTextField
integrates nicely with the other elements in my form. The style and behaviour are the same and the code usage is very similar and consistent.I wanted to share this setup so other people can possibly take advantage of this. Therefore I've added an example that uses the custom
RichTextField
component that integrates nicely with theTextField
api.