Skip to content

fix: remove strikethrough on Client dropdown label in Work Entries page#461

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

fix: remove strikethrough on Client dropdown label in Work Entries page#461
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1776164676-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 was rendering through the label text because the MUI <Select> component was missing the label prop.

In MUI's outlined variant, <Select> needs a label prop matching the <InputLabel> text so it can calculate the proper notch/gap in the fieldset border. Without it, the border renders straight through the label.

Before — border cuts through "Client" label:

before

After — border properly notches around the label:

after

Review & Testing Checklist for Human

  • Open /work-entries, click "Add Work Entry", and confirm the "Client" label displays cleanly without a strikethrough
  • Open an existing work entry for editing and confirm the Client dropdown label also renders correctly when a value is pre-selected

Notes

  • Single-line change: added label="Client" to the <Select> component to match the existing <InputLabel>Client</InputLabel>
  • This is a standard MUI pattern — the other form fields (TextField, DatePicker) already handle this correctly via their own label props

Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/21a7ea2e9e9f47f0ac809d285964aadf


Open with Devin

…own label

The MUI outlined Select component requires a 'label' prop to create a proper
notch in the border for the InputLabel text. Without it, the border line
renders through the label, creating a strikethrough appearance.
@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