-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor validation schema to use arrays for developers, deployers, harmed parties, and implicated systems * Enhance FieldContainer to accept additional props and improve validation error handling in TagsInputGroup * Update validation messages for developers, deployers, harmed parties, and implicated AI systems in multiple languages * Undo unecessary changes * Validate input fields for character limits in submission form
- Loading branch information
Showing
7 changed files
with
313 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
site/gatsby-site/src/components/forms/SubmissionWizard/FieldContainer.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import React from 'react'; | ||
|
||
export default function FieldContainer({ className = '', children }) { | ||
return <div className={`my-6 first:mt-1 ${className}`}>{children}</div>; | ||
export default function FieldContainer({ className = '', children, ...props }) { | ||
return ( | ||
<div className={`my-6 first:mt-1 ${className}`} {...props}> | ||
{children} | ||
</div> | ||
); | ||
} |
Oops, something went wrong.