Add a widget to select a movement

This commit is contained in:
2025-05-13 19:29:26 +02:00
parent 3772dce01c
commit 5e4de364e0
9 changed files with 269 additions and 58 deletions

View File

@@ -113,7 +113,11 @@ export function NewMovementWidget(
>
<UploadedFileWidget file_id={file.id} />
</span>
<IconButton onClick={() => { setFile(undefined); }}>
<IconButton
onClick={() => {
setFile(undefined);
}}
>
<ClearIcon />
</IconButton>
</>
@@ -156,7 +160,6 @@ export function NewMovementWidget(
{/* Amount input */}
<AmountInput
editable
type="text"
placeholder="Amount"
style={{ flex: 1, maxWidth: "110px" }}
value={amount ?? 0}