mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-24 02:02:23 -04:00
22 lines
519 B
TypeScript
22 lines
519 B
TypeScript
import { Component, forwardRef } from '@angular/core';
|
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
import { AbstractInputComponent } from '../abstract-input';
|
|
|
|
@Component({
|
|
providers: [{
|
|
provide: NG_VALUE_ACCESSOR,
|
|
useExisting: forwardRef(() => TextComponent),
|
|
multi: true
|
|
}],
|
|
selector: 'app-input-text',
|
|
templateUrl: './text.component.html',
|
|
styleUrls: ['./text.component.scss']
|
|
})
|
|
export class TextComponent extends AbstractInputComponent<string> {
|
|
|
|
constructor() {
|
|
super()
|
|
}
|
|
|
|
}
|