convert form will flatten the value (#21478)

fixes: #21234
This commit is contained in:
Erik Jan de Wit 2023-07-10 09:55:07 +02:00 committed by GitHub
parent 6db1786318
commit 561bd65b4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ export const Header = ({
{t("deleteProvider")}
</DropdownItem>,
]}
isEnabled={field.value?.[0] === "true"}
isEnabled={field.value?.[0] === "true" || field.value === "true"}
onToggle={(value) => {
if (!value) {
toggleDisableDialog();