all repos — caroster @ 087be84a094c78bc3eb35ffe5adbd48c7fca252c

[Octree] Group carpool to your event https://caroster.io

fix: :bug: Fix clickable disabled button on event creation

#576
Tim Izzo tim@octree.ch
Thu, 20 Mar 2025 15:22:54 +0100
commit

087be84a094c78bc3eb35ffe5adbd48c7fca252c

parent

b596a3ef1fd2408b7576af9f2db2b9abb7aeb041

1 files changed, 7 insertions(+), 1 deletions(-)

jump to
M frontend/pages/new/index.tsxfrontend/pages/new/index.tsx

@@ -84,7 +84,13 @@ }

/> </> )} - <NextLink href="/new/details" passHref> + <NextLink + href="/new/details" + passHref + tabIndex={canSubmit ? undefined : -1} + style={{pointerEvents: canSubmit ? undefined : 'none'}} + aria-disabled={!canSubmit} + > <Button fullWidth variant="contained"