Skip to content

ux: Always show form buttons but disable when empty #108

Description

@O2sa

To prevent the layout from shifting and improve discoverability, the 'Reset' and 'Swap' buttons should always be visible but disabled if there is no data.

Tasks

  • Open compare-form.tsx.
  • Ensure buttons are always rendered.
  • Add disabled logic based on whether inputs are empty.
  • Style the disabled state (like the submit button).

Note

CONTRIBUTIONS ARE WELCOME!
If you want to get this issue assigned to you. Just comment assign me. You will be assigned to the issue instantly via GitHub-actions bot.

Activity

  1. BhathiyaVicum commented on Apr 24, 2026

    @BhathiyaVicum
    Contributor

    assign me

  2. github-actions commented on Apr 24, 2026

    @github-actions

    🎉 Issue assigned to @BhathiyaVicum! Happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions