You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work with Angular 14 and I want to use the multi-combobox component, the following code works. But my Publisher (Intellij) tells me this:
Event selection-change is not emitted by any applicable directives nor by ui5-multi-combobox element.
note: the event takes place, and I can recover the elements.
I tried the following items (selectionchange) does not show an error but does not work (selectionChange) says there is an error but works. (selection-change) says there is an error but works.
Can you tell me if I am doing something wrong or if there is another way to call the event without throwing an exception? thank you in advance for your return.
<!-- sélecteur de catégorie d'article -->
<divclass="form-section"><ui5-labelfor="articleTypeInput"requiredshow-colon>Catégoriedel'article</ui5-label>
<ui5-multi-combobox #articleTypesInput id="articleTypesInput"name="articleTypes"placeholder="Sélectionner la catégorie de l'article"[attr.readonly]=""[attr.value-state]="status"(selection-change)="selectType($event)"><ui5-mcb-itemdata-index="ZERO"text=">_ SELECT EMPTY"></ui5-mcb-item><ui5-mcb-itemdata-index="ALL"text=">_ SELECT ALL"></ui5-mcb-item><ui5-mcb-item*ngFor="let type of types ; let i = index"[attr.data-index]="i+1"[attr.text]="type"[attr.selected]="hasType(type)"[attr.additional-text]=""></ui5-mcb-item><div*ngIf="status=='Error'"slot="valueStateMessage">Sélectionneraumoinsunecatégorie.</div></ui5-multi-combobox></div>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I work with Angular 14 and I want to use the multi-combobox component, the following code works. But my Publisher (Intellij) tells me this:
Event
selection-change
is not emitted by any applicable directives nor byui5-multi-combobox
element.note: the event takes place, and I can recover the elements.
I went to see the documentation of the component
https://sap.github.io/ui5-webcomponents/playground/components/MultiComboBox/
I tried the following items
(selectionchange)
does not show an error but does not work(selectionChange)
says there is an error but works.(selection-change)
says there is an error but works.Can you tell me if I am doing something wrong or if there is another way to call the event without throwing an exception? thank you in advance for your return.
Beta Was this translation helpful? Give feedback.
All reactions