Skip to content

OrganizationComponent

component

Creates form input for organization values.

Example :

<yuv-organization [multiselect]="true"></yuv-organization>

Selector: yuv-organization

Standalone: Yes

Implements: ControlValueAccessor, OnInit, OnDestroy

Type: string[] | undefined

Default Value: undefined

Type: boolean

Default Value: false

Whether or not to exclude the current user from autocomplete result

Type: boolean

Default Value: false

Indicator that multiple strings could be inserted, they will be rendered as chips (default: false).

Type: boolean

Default Value: false

Will prevent the input from being changed (default: false)

Type: string | undefined

Default Value: undefined

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: boolean

Default Value: false

Whether or not the emitted value should be an object containing id and title or, if set to false only the ID

Type: BooleanInput

Type: string

Type: BooleanInput

Type: OrganizationNode[]

Default Value: []

Type: unknown

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

Type: AutocompleteItem[]

Default Value: []

Type: unknown

Default Value: signal<boolean>(false)

Type: number

Default Value: 2

Type: unknown

Default Value: injectNgControl(this)

Type: unknown

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

Type: unknown

Default Value: inject(TranslateService)

Type: boolean

Type: string

Type: boolean

Type: unknown

Default Value: new Subject<void>()

Type: string

autocompleteFn(query: string): void
NameTypeDescription
querystring
registerOnChange(fn: any): void
NameTypeDescription
fnany
registerOnTouched(fn: any): void
NameTypeDescription
fnany
resolveFn(value: string[]): void
NameTypeDescription
valuestring[]
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[]