Skip to content

fix: resolve Client dropdown label strikethrough on /work-entries page#477

Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1776166902-fix-client-dropdown-strikethrough
Open

fix: resolve Client dropdown label strikethrough on /work-entries page#477
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1776166902-fix-client-dropdown-strikethrough

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot commented Apr 14, 2026

Summary

Fixes a UI bug on the /work-entries page where the "Client" dropdown label appeared with a strikethrough (the outlined border drawing through the label text).

Root cause: The MUI <Select> component inside the "Add Work Entry" dialog was missing the label="Client" prop. MUI's outlined variant uses this prop to calculate the notch width in the <fieldset> border around the floating label. Without it, the legend element had zero width, so the border line was drawn straight through the label text.

Fix: Added label="Client" to the <Select> component to match the adjacent <InputLabel>.

Before

before

After

after

Review & Testing Checklist for Human

  • Open the /work-entries page, click "Add Work Entry", and verify the "Client" label no longer has a line through it
  • Verify the dropdown still functions correctly (selecting a client, form submission)

Notes

  • This is a single-line addition — standard MUI pattern fix for outlined Select + InputLabel notch rendering.

Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/7ee3092724bd4f5db9933fdb6a0a22e7


Open with Devin

The MUI Select component was missing the label='Client' prop, which
prevented the outlined fieldset from creating a proper notch for the
floating label. This caused the border to draw through the label text,
appearing as a strikethrough.
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Contributor Author

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants