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

problems with inputRef #427

Open
Marcin164 opened this issue Oct 25, 2022 · 1 comment
Open

problems with inputRef #427

Marcin164 opened this issue Oct 25, 2022 · 1 comment

Comments

@Marcin164
Copy link

when opening edit panel, for the first time, int the console appears error:
Warning: React does not recognize the inputRef prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase inputref instead. If you accidentally passed it from a parent component, remove it from the DOM element.
as you can see, problem is with camel-case.
Except that error, lib works fine

@baartch
Copy link

baartch commented Nov 21, 2022

This is a known issue:
https://github.com/mac-s-g/react-json-view/search?q=inputRef&type=issues

But unfortunately this project isn't maintained anymore... I suggest switching to its fork: https://github.com/TexteaInc/json-viewer

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

No branches or pull requests

2 participants