Adds custom fields of certain data types, attachable to documents and searchable Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
22 lines
529 B
TypeScript
22 lines
529 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(() => UrlComponent),
|
|
multi: true,
|
|
},
|
|
],
|
|
selector: 'pngx-input-url',
|
|
templateUrl: './url.component.html',
|
|
styleUrls: ['./url.component.scss'],
|
|
})
|
|
export class UrlComponent extends AbstractInputComponent<string> {
|
|
constructor() {
|
|
super()
|
|
}
|
|
}
|