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

remove studio reference in Amplify Gen 2 docs #7860

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getCustomStaticPath } from '@/utils/getCustomStaticPath';

export const meta = {
title: 'Customize form inputs',
description: 'Use the Form Builder in Amplify Studio to customize React form components. You can add new form inputs, bind them to a field, customize labels, and add validation rules.',
description: 'Customize Amplify generated form inputs. You can add new form inputs, customize labels, and form action buttons.',
platforms: [
'javascript',
'react',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getCustomStaticPath } from '@/utils/getCustomStaticPath';

export const meta = {
title: 'Validate form data',
description: "Sanitize user input by adding validation rules to your form. By default, Amplify Studio infers a range of validation rules based on the data model. For example, given a data model with an 'AWSEmail' field, the generated form input will automatically run an email validation rule.",
description: "Add and customize validation rules on Amplify generated forms",
platforms: [
'javascript',
'react',
Expand All @@ -23,9 +23,9 @@ export function getStaticProps(context) {
};
}

Sanitize user input by adding validation rules to your form. By default, Amplify Studio infers a range of validation rules based on the data model. For example, given a data model with an `AWSEmail` field, the generated form input will automatically run an email validation rule.
Sanitize user input by adding validation rules to your form. By default, Amplify generated forms infers a range of validation rules based on the data model. For example, given a data model with an `AWSEmail` field, the generated form input will automatically run an email validation rule.

## Add validation rules
## Configurable validation rules

By default, the following validation rules are available for you to configure:

Expand Down Expand Up @@ -78,7 +78,7 @@ type ValidationResponse = {

### Add validation rules for nested JSON data

Amplify Studio Forms can also produce nested JSON object. For example, you can create a new `ProductForm` component based on the following JSON object:
Amplify generated forms can also produce nested JSON object. For example, you can create a new `ProductForm` component based on the following JSON object:

```json
{
Expand Down