Add readonly to FormControl formstate
- Dominant language
- TypeScript
- Stars
- 101k
- Forks
- 27.5k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 288
Description
**I'm submitting a ...** (check one with "x")
```
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
```
Currently there is a "disabled" flag which will disable the control, and also disable the validator.
But there also should be a "readonly" flag which do not disable the validator.
**Current behavior**
- Does not exist -
**Expected behavior**
- Explained above -
**What is the motivation / use case for changing the behavior?**
**Please tell us about your environment:**
- **Angular version:** 2.0.0-rc.6
- **Browser:** [all]
- **Language:** [all]
- **Node (for AoT issues):** `node --version` = 6.5.0
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating Angular's FormControl form-state implementation and its existing disabled-state coverage; done means a readonly state is supported while validation remains active, without changing disabled behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100