Skip to content

Commit c1eef8d

Browse files
committed
test(radio-group): increasing the radio-group coverage
1 parent bccab4a commit c1eef8d

File tree

2 files changed

+425
-9
lines changed

2 files changed

+425
-9
lines changed

projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -281,16 +281,9 @@ export class CheckboxBaseDirective implements AfterViewInit {
281281
* let isRequired = this.checkbox.required;
282282
* ```
283283
*/
284-
// @Input({ transform: booleanAttribute })
285-
// public get required(): boolean {
286-
// return this._required || this.nativeElement.hasAttribute('required');
287-
// }
288-
// public set required(value: boolean) {
289-
// this._required = value;
290-
// }
291284
@Input({ transform: booleanAttribute })
292285
public get required(): boolean {
293-
return this._required || this.nativeElement.hasAttribute('required');
286+
return this._required;
294287
}
295288
public set required(value: boolean) {
296289
this._required = value;

0 commit comments

Comments
 (0)