We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38b3bf2 commit b9f8853Copy full SHA for b9f8853
packages/ra-ui-materialui/src/field/FileField.tsx
@@ -67,7 +67,7 @@ export const FileField = <
67
const srcValue = get(file, src) || title;
68
69
return (
70
- <li key={index} onClick={e => e.stopPropagation()}>
+ <li key={index}>
71
<Link
72
href={srcValue}
73
title={fileTitleValue}
@@ -76,6 +76,7 @@ export const FileField = <
76
ping={ping}
77
rel={rel}
78
variant="body2"
79
+ onClick={e => e.stopPropagation()}
80
>
81
{fileTitleValue}
82
</Link>
0 commit comments