feat(Material Select): Support for readonly attribute in Material Select component
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
#### Feature Description
It should be possible to use a **readonly** property similar to have disabled is used with mat-select (Material Select component)
#### Use Case
When re-submitting a form where some select field should not be editable but resent. Property disabled will in this case simple remove selected value from form.
**This is an example that show how it would be used and how it works now:**
https://stackblitz.com/edit/angular-fj6kyz?file=src/app/select-overview-example.html
Contributor guide
Research direction
Start with the Angular Material Select component and reproduce the behavior in the linked StackBlitz example. Implement a readonly state that prevents editing without removing the selected value from a resubmitted form, then verify the form behavior and existing select behavior remain correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100