File

angular/projects/researchdatabox/form/src/app/component/textfield.component.ts

Extends

FormBaseComponent

Metadata

import { Component } from '@angular/core';
import { FormBaseComponent, ModelBase } from "@researchdatabox/portal-ng-common";

export class TextField extends ModelBase<string> {
  type: string = 'text'
  constructor(initJson: any) {
    super(initJson);
    
  }
}

@Component({
  selector: 'textfield',
  template: `
  <span>Text Label</span>
  <input type='text' value='hello!' />
  `,
})
export class TextFieldComponent extends FormBaseComponent {

}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""