Skip to content

Modus Autocomplete - valueChange and optionSelected events triggered on selecting any option. #3438

@anwishaZ

Description

@anwishaZ

Prerequisites

Describe the issue

  1. On selecting an option, valueChange is called first, followed by optionSelected.
  2. And for persisting the selections, we are setting the value to the autocomplete element, which calls valueChnage and optionSelected in a loop.

Reduced test cases

No response

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What is the issue regarding ?

@trimble-oss/modus-web-components

What version of npm package are you using ?

1.6.0

Priority

High

What product/project are you using Modus Components for ?

CF Inventory

What is your team/division name ?

CPD

Are you willing to contribute ?

None

Are you using Modus Web Components in production ?

No response

Metadata

Metadata

Labels

bugSomething is wrong and needs to be addressedexternal-requestBugs and features reported by individuals from other teams in Trimble

Type

No type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions