Skip to content
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

TreeSelect: When using reactive form disabled input doesn't affect #14662

Closed
avim101 opened this issue Jan 30, 2024 · 0 comments · Fixed by #14713
Closed

TreeSelect: When using reactive form disabled input doesn't affect #14662

avim101 opened this issue Jan 30, 2024 · 0 comments · Fixed by #14713
Assignees
Labels
LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@avim101
Copy link

avim101 commented Jan 30, 2024

Describe the bug

When using reactive form disabled input doesn't affect the component

Environment

primeng latest demo

Reproducer

https://stackblitz.com/edit/wrmnfo?file=src%2Fapp%2Fdemo%2Ftree-select-reactive-forms-demo.html

Angular version

17.0.5

PrimeNG version

17.4.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.18.0

Browser(s)

No response

Steps to reproduce the behavior

  1. use treeSelect with form
  2. set treeselect disabled input to true

Expected results:
treeselect should be disabled

Actual results:
treeselect still interactive

Note:
if you will set the control to disabled the component will be disabled

Expected behavior

treeselect should be disabled

@avim101 avim101 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 30, 2024
@avim101 avim101 changed the title Component: TreeSelect TreeSelect: When using reactive form disabled input doesn't affect Jan 31, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 5, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.6.0 milestone Feb 5, 2024
@mehmetcetin01140 mehmetcetin01140 self-assigned this Feb 5, 2024
cetincakiroglu added a commit that referenced this issue Feb 7, 2024
Fixed #14662 - TreeSelect | When using reactive form disabled input d…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants