Open
Description
Before creating a new issue, please confirm:
- I have searched for duplicate or closed issues and discussions.
- I have tried disabling all browser extensions or using a different browser
- I have tried deleting the node_modules folder and reinstalling my dependencies
- I have read the guide for submitting bug reports.
On which framework/platform are you having an issue?
React
Which UI component?
Primitive components
How is your app built?
Next.js
What browsers are you seeing the problem on?
Chrome
Please describe your bug.
When you add the isRequired
prop to a Field component, I see this warning in the console.
React does not recognize the `isRequired` prop on a DOM element.
I was able to reproduce this when using Studio forms
What's the expected behaviour?
Should not show warning in console
Help us reproduce the bug!
Create a new application using Studio. Create a StorageField
. Set required to true. Pull into app, and look at console.
Or
import { Field } from "@aws-amplify/ui-react/internal";
<Field
isRequired={true}
label="test"
>
Some field
</Field>
Code Snippet
// Put your code below this line.
Additional information and screenshots
No response