To use this component you will need to add your own tester:


...
export const AutocompleteControlRendererTester: RankedTester = rankWith(2, isEnumControl);
...

Add the tester and renderer to JSONForms registry:


...
{ tester: AutocompleteControlRendererTester, renderer: AutocompleteControlRenderer },
...

Furthermore you need to update your module.


...
imports: [JsonFormsAngularMaterialModule, MatAutocompleteModule],
declarations: [AutocompleteControlRenderer]
...

Hierarchy

  • JsonFormsControl
    • AutocompleteControlRenderer

Implements

  • OnInit

Constructors

Properties

data: any
description: string
disabled: boolean
enabled: boolean
error: string
filteredOptions: Observable<string[]>
focused: boolean = false
form: FormControl<any>
hidden: boolean
id: string
jsonFormsService: JsonFormsAngularService
label: string
options: string[]
path: string
propsPath: string
rootSchema: JsonSchema
schema: JsonSchema
scopedSchema: JsonSchema
shouldFilter: boolean
subscription: Subscription
uischema: ControlElement
validator: ValidatorFn
visible: boolean
ɵcmp: unknown
ɵdir: unknown
ɵfac: unknown

Methods

  • Returns boolean

  • Parameters

    • _props: StatePropsOfControl

    Returns void

  • Parameters

    • state: JsonFormsState

    Returns StatePropsOfControl

  • Returns void

  • Parameters

    • ev: any

    Returns void

  • Returns boolean

  • Returns void