-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
<ReferenceInput>,< ReferenceArrayInput > ,<AutocompleteInput> validate required message not red as same as other input #3849
Comments
Have you updated to the latest beta ? |
just Now i update to last beta2.0 ,but failed ,following is the error.
my package.json
can you please tell me why ? thanks i found ra-core package.json |
Yes, we just identified this issue. It will be corrected in next beta. In the mean time, you can install those deps yourself. |
OK ,thank you very much @djhi |
i have update to beta2.0 now.but the problem is still existing |
@djhi have you reproduce my problem ? under beta2.0 , the problem is still existing |
@fzaninotto you should not use SelectInput in the ReferenceInput, i find maybe is the AutocompleteInput cause the problem , the same as AutocompleteArrayInput . if use AutocompleteArrayInput directly in the simpleForm. you can reproduce under following steps.
to Create SimpleForm.
|
Confirmed and reproduced, thanks! |
thanks @fzaninotto |
Fixed by #3857 |
@fzaninotto, only part of the problem is fixed. No entry In addition, as you can see, the default width for react-admin: "3.0.0-beta.6", |
@wmwart it seems the problem only occurs in AutocompleteInput. Would you mind opening a new issue, with a code snippet allowing to reproduce the bug? |
Done |
What you were expecting:
when set validate={required()} in ReferenceInput or ReferenceArrayInput or AutocompleteInput
the validation message display style not a red color. At the same time ,ReferenceArrayInput and ReferenceInput do not have * after the label. AutocompleteInput have render the *
Environment
The text was updated successfully, but these errors were encountered: