-
Notifications
You must be signed in to change notification settings - Fork 110
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
RIEInput is disabled after being edited #47
Comments
As a workaround, I have changed line 102 of RIEStatefulBase.js to force disabled to false:
But I would know why the loading state remains true... |
The doc clearly explains that it will be disabled until the parent React components renders the input again. |
I am also facing the same problem while using with React hooks. Any solution here? |
It looks like this project isn't active anymore, but inspired by @suziesirena's comment, I came across a workaround that does not require changing the source code. Use the <RIEInput
value={item.title}
change={(text) =>self.updateTitle(text, item.ID)}
propName="text"
validate={_.isString}
editProps={{ disabled: false }}
/> |
I'm using React and Material UI table.
I want to make the table cells editable so I put a RIEInput in a cell of the table.
The problem is that after being edited, the RIEInput is disabled :
you can see that the 'loading' state remains to 'true' after leaving focus the element.
here is my code :
how can I manage this strange behavior?
The text was updated successfully, but these errors were encountered: