import { useFormikContext } from 'formik'; import { EdgeGroupAssociationTable } from '@/react/edge/components/EdgeGroupAssociationTable'; import { EdgeTypes } from '@/react/portainer/environments/types'; import { BoxSelector } from '@@/BoxSelector'; import { TagSelector } from '@@/TagSelector'; import { FormSection } from '@@/form-components/FormSection'; import { tagOptions } from './tag-options'; import { FormValues } from './types'; export function DynamicGroupFieldset() { const { values, setFieldValue, errors } = useFormikContext(); return ( <> setFieldValue('partialMatch', partialMatch) } options={tagOptions} radioName="partialMatch" /> setFieldValue('tagIds', tagIds)} errors={errors.tagIds} /> ); }