Skip to content

Commit 666d776

Browse files
committed
fix test
1 parent 5d00b8e commit 666d776

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/react-aria-components/src

packages/react-aria-components/src/Form.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const FormPendingContext = createContext<boolean>(false);
6363
*/
6464
export const Form = forwardRef(function Form(props: FormProps, ref: ForwardedRef<HTMLFormElement>) {
6565
[props, ref] = useContextProps(props, ref, FormContext);
66-
let {validationErrors, validationBehavior = 'native', children, className, style, submitAction, action, onSubmit, ...domProps} = props;
66+
let {validationErrors, validationBehavior = 'native', render, children, className, style, submitAction, action, onSubmit, ...domProps} = props;
6767

6868
let [onAction, isPending, actionError] = useAction(submitAction);
6969
let [formError, fieldErrors] = useMemo(() => {
@@ -100,6 +100,7 @@ export const Form = forwardRef(function Form(props: FormProps, ref: ForwardedRef
100100
children,
101101
className,
102102
style,
103+
render,
103104
defaultClassName: 'react-aria-Form',
104105
values: {
105106
isPending,

0 commit comments

Comments
 (0)