primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Add readonly to Checkbox and TriStateCheckbox

Open huineng opened this issue 9 years ago • 6 comments

[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


huineng avatar Jun 06 '17 07:06 huineng

+1

drenda avatar Jul 11 '17 10:07 drenda

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

thanks

huineng avatar Dec 15 '17 13:12 huineng

@cagataycivici is there a new milestone for this feature?

ccasallas avatar Mar 08 '18 20:03 ccasallas

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 avatar Aug 21 '18 05:08 huineng

still possible ? otherwise you can close it

huineng avatar May 12 '19 16:05 huineng

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.

smitpsanghavi avatar Jul 09 '19 06:07 smitpsanghavi