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

EditGuesser suggests invalid JSX. #2566

Closed
hota911 opened this issue Nov 25, 2018 · 0 comments
Closed

EditGuesser suggests invalid JSX. #2566

hota911 opened this issue Nov 25, 2018 · 0 comments
Assignees
Labels

Comments

@hota911
Copy link

hota911 commented Nov 25, 2018

Please do not submit support requests or "How to" questions here. For that, go to StackOverflow.

What you were expecting:
EditGuesser provides a valid, copy-and-paste-able JSX

What happened instead:
The JSX given by EditGuesser is invalid.

Steps to reproduce:

Our data contains "client_id" field. EditGuesser generates the following field.

            <ReferenceInput source="client_id" reference="clients"><SelectInput optionText="id"></ReferenceInput>

which is invalid.

Related code:

Environment

  • React-admin version: 2.4.3
  • Last version that did not exhibit the issue (if applicable):
  • React version: 16.6.3
  • Browser: Chrome
  • Stack trace (in case of a JS error): N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants