1

I am working with a .NET + Angular WebApp Project

I added Angular Aria to the Angular project hoping to use their Autocomplete feature for a Select Box.

I copied the code directly from the first example on the angular page. https://angular.dev/guide/aria/autocomplete

However, trying to use this code is yielding Typescript error messages on compilation.

TS2551: Property '@ɵINPUT_SIGNAL_BRAND_WRITE_TYPE@1584' does not exist on type 'InputSignal<"auto-select" | "manual" | "highlight">'. Did you mean '@ɵINPUT_SIGNAL_BRAND_WRITE_TYPE@3762'? [plugin angular-compiler]

src/app/autocomplete/autocomplete.component.html:1:16:
  1 │ <div ngCombobox filterMode="auto-select">
    ╵                 ~~~~~~~~~~

X [ERROR] TS2551: Property '@ɵINPUT_SIGNAL_BRAND_WRITE_TYPE@1584' does not exist on type 'InputSignal'. Did you mean '@ɵINPUT_SIGNAL_BRAND_WRITE_TYPE@3762'? [plugin angular-compiler]

src/app/autocomplete/autocomplete.component.html:18:25:
  18 │           <div ngOption [value]="country" [label]="country">
     ╵                          ~~~~~

and a 3rd error for the label property.

I have checked my package versions and everything appears to be running off @21.0.1

Can anyone point me in the right direction here? Thanks.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.