feat: use new form layout for link/delete

This commit is contained in:
Sonny
2024-11-01 20:07:41 +01:00
committed by Sonny
parent edc7972a2f
commit 907dda300e
4 changed files with 42 additions and 4 deletions

View File

@@ -91,6 +91,7 @@ export default function MantineFormLink({
}))}
onChange={(value) => setData('collectionId', value)}
value={data.collectionId.toString()}
readOnly={disableInputs}
mt="md"
searchable
required
@@ -100,7 +101,7 @@ export default function MantineFormLink({
onChange={({ target }) => setData('favorite', target.checked)}
checked={data.favorite}
error={errors?.favorite}
disabled={disableInputs}
disabled={disableInputs} // readonly not working
mt="md"
/>
</BackToDashboard>