This commit is contained in:
@ -26,7 +26,7 @@ export function FileInput(
|
|||||||
onClick={() => fileInput.current?.click()}
|
onClick={() => fileInput.current?.click()}
|
||||||
{...p}
|
{...p}
|
||||||
value={""}
|
value={""}
|
||||||
onChange={() => {}}
|
onChange={console.log}
|
||||||
type="file"
|
type="file"
|
||||||
slotProps={{
|
slotProps={{
|
||||||
input: {
|
input: {
|
||||||
@ -44,7 +44,9 @@ export function FileInput(
|
|||||||
{filesize(p.value.size)}
|
{filesize(p.value.size)}
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title="Remove attached file"
|
title="Remove attached file"
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => {
|
||||||
|
e.stopPropagation();
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<IconButton
|
<IconButton
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
|
Reference in New Issue
Block a user