<commit_before><div [formGroup]="form"
     [hidden]="!isCompatible"
     [ngSwitch]="model.type">

    <label *ngIf="!isCheckbox && model.label"
           [attr.for]="model.id"
           [ngClass]="model.cls.label">{{model.label}}</label>

    <md-checkbox *ngSwitchCase="'CHECKBOX'"
                 [align]="model.align"
                 [disabled]="model.disabled"
                 [formControlName]="model.id"
                 [id]="model.id"
                 [indeterminate]="model.indeterminate"
                 [name]="model.name"
                 [value]="model.value"
                 [ngClass]="model.cls.control"
                 [(ngModel)]="model.value"
                 (blur)="onBlur($event)"
                 (focus)="onFocus($event)">{{model.label}}</md-checkbox>


    <md-input *ngSwitchCase="'INPUT'"
              [autofocus]="model.autoFocus"
              [disabled]="model.disabled"
              [formControlName]="model.id"
              [id]="model.id"
              [max]="model.max"
              [maxLength]="model.maxLength"
              [min]="model.min"
              [name]="model.name"
              [placeholder]="model.placeholder"
              [step]="model.step"
              [type]="model.inputType"
              [ngClass]="model.cls.control"
              [(ngModel)]="model.value"
              (blur)="onBlur($event)"
              (focus)="onFocus($event)">

        <span *ngIf="model.prefix" md-prefix>{{model.prefix}}</span>
        <span *ngIf="model.suffix" md-suffix>{{model.suffix}}</span>

        <md-hint *ngIf="model.showLength" align="end">
            {{characterCount}} / {{model.maxLength}}
        </md-hint>

    </md-input>

    <md-radio-group *ngSwitchCase="'RADIO'"
                    [formControlName]="model.id"
                    [id]="model.id"
                    [name]="model.name"
                    [ngClass]="model.cls.control"
                    [(ngModel)]="model.value"
                    (blur)="onBlur($event)"
                    (focus)="onFocus($event)">

        <md-radio-button *ngFor="let option of model.options"
                         [checked]="!!option.selected"
                         [disabled]="!!option.disabled"
                         [name]="model.name"
                         [value]="option.value">{{option.text}}
        </md-radio-button>

    </md-radio-group>

</div><commit_msg>DynamicCheckboxGroup added in ui-material template<commit_after><div [formGroup]="form"
     [hidden]="!isCompatible"
     [ngSwitch]="model.type">

    <label *ngIf="!isCheckbox && model.label"
           [attr.for]="model.id"
           [ngClass]="model.cls.label">{{model.label}}</label>


    <md-checkbox *ngSwitchCase="'CHECKBOX'"
                 [align]="model.align"
                 [disabled]="model.disabled"
                 [formControlName]="model.id"
                 [id]="model.id"
                 [indeterminate]="model.indeterminate"
                 [name]="model.name"
                 [value]="model.value"
                 [ngClass]="model.cls.control"
                 [(ngModel)]="model.value"
                 (blur)="onBlur($event)"
                 (focus)="onFocus($event)">{{model.label}}</md-checkbox>


    <fieldset *ngSwitchCase="'CHECKBOX_GROUP'"
              [formGroupName]="model.id"
              [id]="model.id">

        <legend *ngIf="model.legend">{{model.legend}}</legend>

        <md-checkbox [align]="model.align"
                     [disabled]="model.disabled"
                     [formControlName]="model.id"
                     [id]="model.id"
                     [indeterminate]="model.indeterminate"
                     [name]="model.name"
                     [value]="model.value"
                     [ngClass]="model.cls.control"
                     [(ngModel)]="model.value"
                     (blur)="onBlur($event)"
                     (focus)="onFocus($event)">{{model.label}}</md-checkbox>
    </fieldset>


    <md-input *ngSwitchCase="'INPUT'"
              [autofocus]="model.autoFocus"
              [disabled]="model.disabled"
              [formControlName]="model.id"
              [id]="model.id"
              [max]="model.max"
              [maxLength]="model.maxLength"
              [min]="model.min"
              [name]="model.name"
              [placeholder]="model.placeholder"
              [step]="model.step"
              [type]="model.inputType"
              [ngClass]="model.cls.control"
              [(ngModel)]="model.value"
              (blur)="onBlur($event)"
              (focus)="onFocus($event)">

        <span *ngIf="model.prefix" md-prefix>{{model.prefix}}</span>
        <span *ngIf="model.suffix" md-suffix>{{model.suffix}}</span>

        <md-hint *ngIf="model.showLength" align="end">
            {{characterCount}} / {{model.maxLength}}
        </md-hint>

    </md-input>


    <md-radio-group *ngSwitchCase="'RADIO'"
                    [formControlName]="model.id"
                    [id]="model.id"
                    [name]="model.name"
                    [ngClass]="model.cls.control"
                    [(ngModel)]="model.value"
                    (blur)="onBlur($event)"
                    (focus)="onFocus($event)">

        <md-radio-button *ngFor="let option of model.options"
                         [checked]="!!option.selected"
                         [disabled]="!!option.disabled"
                         [name]="model.name"
                         [value]="option.value">{{option.text}}</md-radio-button>
    </md-radio-group>

</div>
{'fraction_non_alphanumeric': 0.17494174583258648, 'fraction_numerical': 0.0, 'mean_word_length': 1.6184889723134679, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3433991', 'n_tokens_mistral': 1691, 'n_tokens_neox': 1572, 'n_words': 167}