Fix client import form state (#2621)
This commit is contained in:
parent
1eb33007c4
commit
9b0af12bd6
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export default function ImportForm() {
|
|||
const history = useHistory();
|
||||
const adminClient = useAdminClient();
|
||||
const { realm } = useRealm();
|
||||
const form = useForm<ClientRepresentation>();
|
||||
const form = useForm<ClientRepresentation>({ shouldUnregister: false });
|
||||
const { register, handleSubmit, setValue } = form;
|
||||
const [imported, setImported] = useState<ClientRepresentation>({});
|
||||
|
||||
|
|
Loading…
Reference in a new issue