IssueRaiser

Add readonly to FormControl formstate

**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

Posted by fank on Sep 8, 2016, 4:46 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

support (Software)

Add readonly to FormControl formstate

fankSep 8, 2016, 4:46 PM

**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

Comments (0)

No comments yet. Start the discussion.

Comment on this issue