diff --git a/components/forms/EventDataForm.js b/components/forms/EventDataForm.js index 01013416..2795ff6b 100644 --- a/components/forms/EventDataForm.js +++ b/components/forms/EventDataForm.js @@ -168,20 +168,19 @@ export default function EventDataForm({ websiteId, onClose, className }) { handleAddTag({ ...value, value: type }, columns, setColumns, columnRef, true) } > - } - rules={{ required: 'Required' }} - > - - } + label={} > - - {({ value, label }) => {label}} - + + + + + }> + + + {({ value, label }) => {label}} + + + - Save - - + )} - + ); } diff --git a/components/forms/TeamAddForm.js b/components/forms/TeamAddForm.js index 78c316ab..ff47931d 100644 --- a/components/forms/TeamAddForm.js +++ b/components/forms/TeamAddForm.js @@ -1,5 +1,5 @@ import { useRef } from 'react'; -import { Form, FormInput, FormButtons, TextField, Button } from 'react-basics'; +import { Form, FormRow, FormInput, FormButtons, TextField, Button } from 'react-basics'; import useApi from 'hooks/useApi'; import styles from './Form.module.css'; import { useMutation } from '@tanstack/react-query'; @@ -19,9 +19,11 @@ export default function TeamAddForm({ onSave, onClose }) { return (
- - - + + + + +