import { Component } from '@angular/core' ; import { RenderFieldComponent } from '../components.fields' ; @ Component ( { selector : 'cmdb-number' , templateUrl : './number.component.html' , styleUrls : [ './number.component.scss' ] } ) export class NumberComponent extends RenderFieldComponent { public constructor ( ) { super ( ) ; } public numberChange ( event ) { this . value = + event . target . value ; } public set value ( valueList ) { this . innerValue = + valueList ; } }