Skip to content

Conversation

@ARYANSHAH1567
Copy link
Contributor

@ARYANSHAH1567 ARYANSHAH1567 commented Oct 3, 2025

Notes for Reviewers

This PR fixes #1175

Currently we use FormControl, InputLabel and Select for input fields or select dropdowns, but we face the issue for the label not getting the space allocated dynamically. I did test the components in Staclblitz from the official MUI website, and did not find any solution to it.

This new component: Replaces FormControl + TextField combinations with a single, properly styled component that fixes label/border intersection issues.

Features:

  1. Dynamic Label Positioning
  2. Consistent Brand Styling
  3. Improved Developer Experience - The component can be changed as per needs by passing props to it
  4. All other TextField props supported

Working:

497222208-9dbed581-bc50-43d5-b711-3eda84beb3fc.mp4
Screencast.From.2025-10-03.19-10-35.online-video-cutter.com.mp4

We need to replace all the current FormControl and TextField with this component, then the issue for the dynamic label space will be solved.

Signed commits

  • Yes, I signed my commits.

@leecalcote leecalcote merged commit f9db86d into layer5io:master Oct 7, 2025
4 checks passed
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.

[Bug] Select Componet input label Fix

2 participants