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

Add readonly to Checkbox and TriStateCheckbox #2999

Closed
huineng opened this issue Jun 6, 2017 · 6 comments
Closed

Add readonly to Checkbox and TriStateCheckbox #2999

huineng opened this issue Jun 6, 2017 · 6 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@huineng
Copy link

huineng commented Jun 6, 2017

[X ] feature request => Please check if request is not on the roadmap already


**Current behavior**
currently available is the disabled state

**Expected behavior**
Disabled state when using in combination with reactive forms removed the field value from the reactive form (not included when submitting etc..)

Readonly will also display value as disabled, but will include / retain the value in the form

thanks


@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Jun 6, 2017
@cagataycivici cagataycivici modified the milestones: 4.1.2, 4.1.1 Jun 23, 2017
@drenda
Copy link

drenda commented Jul 11, 2017

+1

@cagataycivici cagataycivici modified the milestone: 4.1.1 Jul 19, 2017
@huineng
Copy link
Author

huineng commented Dec 15, 2017

You added this to a milestone, but never implemented it ..
can it be added to a new milestone ?

thanks

@ccasallas
Copy link
Contributor

@cagataycivici is there a new milestone for this feature?

@huineng
Copy link
Author

huineng commented Aug 21, 2018

could you add this to any of your upcoming releases ?

thanks

<input #cb type="checkbox" [attr.id]="inputId" [name]="name" [value]="value" [checked]="checked" (focus)="onFocus($event)" (blur)="onBlur($event)"
                [ngClass]="{'ui-state-focus':focused}" (change)="handleChange($event)" [disabled]="disabled" [readonly]="readonly" [attr.tabindex]="tabindex">

@huineng
Copy link
Author

huineng commented May 12, 2019

still possible ? otherwise you can close it

@smitpsanghavi
Copy link

Can you provide a pull request for it?
Such small features are generally low prioritized and get lost amidst all the bigger ones.
Pull request will give them more visibility.

@yigitfindikli yigitfindikli self-assigned this Jul 31, 2019
@yigitfindikli yigitfindikli added this to the 8.0.3 milestone Jul 31, 2019
@yigitfindikli yigitfindikli changed the title Add readonly to checkbox Add readonly to Checkbox and TriStateCheckbox Jul 31, 2019
@yigitfindikli yigitfindikli reopened this Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

6 participants