Skip to content

I18nCatalogComponent

component

Form element for selecting one or multiple i18n catalog values. Having a classification of i18n:catalog[one, two, three] configured on the metadata field will automatically populate the options from the catalog. The options will be translated using the catalogs static values adding a prefix, the property name an the value itself. E.g. for property name status and option value open the label key will be catalog:status:open_label.

Selector: yuv-i18n-catalog

Standalone: No

Implements: ControlValueAccessor, OnInit, OnDestroy

Type: string[]

Default Value: []

Additional semantics for the form element.

Type: boolean

Default Value: false

Type: string[]

Default Value: []

Type: string | undefined

Default Value: undefined

Type: boolean

Default Value: false

Type: string

Possibles values are EDIT (default),SEARCH,CREATE. In search situation validation of the form element will be turned off, so you are able to enter search terms that do not meet the elements validators.

Type: BooleanInput

Type: string

Type: BooleanInput

Type: unknown

Default Value: signal<\{ label: string; value: string \}[]>([])

Type: unknown

Default Value: new FormControl<string | string[] | undefined>(undefined)

Type: unknown

Default Value: injectNgControl(this)

Type: unknown

Default Value: () => \{...\}

Type: boolean

Type: string

Type: boolean

Type: unknown

Default Value: new Subject<void>()

Type: string

registerOnChange(fn: any): void
NameTypeDescription
fnany
registerOnTouched(fn: any): void
NameTypeDescription
fnany
setDisabledState(isDisabled: boolean): void
NameTypeDescription
isDisabledboolean
writeValue(value: string | string[]): void
NameTypeDescription
valuestring | string[]
onContainerClick(event: MouseEvent): void
NameTypeDescription
eventMouseEvent
onFocusIn(): void
onFocusout(): void
onNgOnDestroy(): void
setDescribedByIds(ids: string[]): void
NameTypeDescription
idsstring[]