<commit_before>import { Component } from '@angular/core';
import { FieldType } from '@ngx-formly/core';

@Component({
  selector: 'formly-field-kendo-input',
  template: `
    <input class="k-textbox"
      [class.k-state-invalid]="showError"
      [type]="to.type || 'text'"
      [formControl]="formControl"
      [formlyAttributes]="field" />
  `,
})
export class FormlyFieldInput extends FieldType {}<commit_msg>feat(kendo): emit int value for number input type<commit_after>import { Component } from '@angular/core';
import { FieldType } from '@ngx-formly/core';

@Component({
  selector: 'formly-field-kendo-input',
  template: `
    <input *ngIf="to.type !== 'number' else numberTmp" [type]="to.type || 'text'" [formControl]="formControl" class="k-textbox" [formlyAttributes]="field" [class.k-state-invalid]="showError">
    <ng-template #numberTmp>
      <input type="number" [formControl]="formControl" class="k-textbox" [formlyAttributes]="field" [class.k-state-invalid]="showError">
    </ng-template>
  `,
})
export class FormlyFieldInput extends FieldType {}
{'fraction_non_alphanumeric': 0.17647058823529413, 'fraction_numerical': 0.0, 'mean_word_length': 5.022471910112359, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '7369617', 'n_tokens_mistral': 353, 'n_tokens_neox': 350, 'n_words': 68}