aws-amplify / amplify-ui

Amplify UI is a collection of accessible, themeable, performant React (and more!) components that can connect directly to the cloud.
https://ui.docs.amplify.aws
Apache License 2.0
919 stars 297 forks source link

Add new attribute initialvalue to the form-field #6007

Open gongte1937 opened 3 weeks ago

gongte1937 commented 3 weeks ago

Description of changes

Update the form-field.component and FormFieldOptions so the form could accept default value input.

Issue #, if available

It is regarding to this issue

Description of how you validated changes

I have used yarn build and yarn pack to pack the package and install it from my project, and tested the functionality. And it works fine.

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: 8a7493ebac7ce4abca3591f29e39ff55499afa42

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages | Name | Type | | ---------------------------------------- | ----- | | @aws-amplify/ui-angular | Patch | | @aws-amplify/ui | Patch | | @aws-amplify/ui-react-auth | Patch | | @aws-amplify/ui-react-core-auth | Patch | | @aws-amplify/ui-react-core-notifications | Patch | | @aws-amplify/ui-react-core | Patch | | @aws-amplify/ui-react-liveness | Patch | | @aws-amplify/ui-react-native-auth | Patch | | @aws-amplify/ui-react-native | Patch | | @aws-amplify/ui-react-notifications | Patch | | @aws-amplify/ui-react-storage | Patch | | @aws-amplify/ui-react | Patch | | @aws-amplify/ui-vue | Patch | | @aws-amplify/ui-react-geo | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

gongte1937 commented 2 weeks ago

can someone take a look at this PR