Open bhushangahire opened 6 years ago
Same thing happened to me. I know we do have an attribute disabled
but I hate to see the warning when we combine it with form-control
I have exactly the same problem. I solved it now with the disabled attribute, but it always throws those ugly warnings. Is there any timeline when this is gonna be solved?
Hi. It was fixed in that fork: https://github.com/optimistex/ng2-select-ex Currently, it is working with FormControl.disable/enable as expected. Try it.
ng2-select version: Angular Version: 4.4.6 CLI : 1.5.2
Example: form = new FormGroup({ first: new FormControl({value: 'Nancy', disabled: true}, Validators.required), last: new FormControl('Drew', Validators.required) });
It does not disable the drop-down. Above is just example, I have a working drop-down with the values.