mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
feat: allow adding links via ip
This commit is contained in:
@@ -24,7 +24,7 @@ interface FormLinkProps extends FormLayoutProps {
|
||||
handleSubmit: () => void;
|
||||
}
|
||||
|
||||
export default function MantineFormLink({
|
||||
export function FormLink({
|
||||
data,
|
||||
errors,
|
||||
collections,
|
||||
@@ -83,7 +83,7 @@ export default function MantineFormLink({
|
||||
value: id.toString(),
|
||||
}))}
|
||||
onChange={(value) => setData('collectionId', value)}
|
||||
value={data.collectionId.toString()}
|
||||
value={data.collectionId?.toString()}
|
||||
readOnly={disableInputs}
|
||||
mt="md"
|
||||
searchable
|
||||
|
||||
Reference in New Issue
Block a user