8000 Disabled attribute doesn't work with Reactive Forms · Issue #24941 · angular/angular · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Disabled attribute doesn't work with Reactive Forms #24941

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Bielik20 opened this issue Jul 17, 2018 · 3 comments
Closed

Disabled attribute doesn't work with Reactive Forms #24941

Bielik20 opened this issue Jul 17, 2018 · 3 comments

Comments

@Bielik20
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[ ] Other... Please describe:

Current behavior

When using reactive forms it isn't disabled and we receive this message:
image

While I understand purpose of this message, setting disabled in form control prevents any changes to that field. I want only manual input to be disabled due to angular/components#11936 and angular/components#12064.

Expected behavior

It should work just like in example -> Disabled datepicker -> Input disabled (the third one)

Minimal reproduction of the problem with instructions

https://stackblitz.com/edit/angular-datepicker-disable-bug

Environment


Angular version: 6.0.7


Browser:
- [X] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

Misc

I originally posted this issue in here: angular/components#12065

@trotyl
Copy link
Contributor
trotyl commented Jul 18, 2018

Duplicate of #11271, #11324

@kara
Copy link
Contributor
kara commented Jul 18, 2018

Looks like a duplicate of existing issue, so closing this one. Feel free to track on the other thread.

@kara kara closed this as completed Jul 18, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants
0