modus-web-components icon indicating copy to clipboard operation
modus-web-components copied to clipboard

Button Group Events Wrong

Open kuhnboy opened this issue 9 months ago • 1 comments

Prerequisites

Describe the issue

The button group DOM Events (https://modus-web-components.trimble.com/?path=/docs/components-button-group--default) are documented as:

  • buttonClick
  • selectionChange

These aren't correct as they should be:

  • buttonGroupClick
  • buttonSelectionChange

What's interesting though is 'buttonClick' does fire but doesn't have any event data.

Finally, it is a deviation from most other functionality to have a HTML element be included in the DOM event, which it is for both buttonGroupClick and buttonSelectionChange. It adds fragility when working with frameworks.

Reduced test cases

No response

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

No response

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

No response

What is the issue regarding ?

Modus Web Components Website (Storybook)

What version of npm package are you using ?

0.27.0

Priority

Low

What product/project are you using Modus Components for ?

ModusBlazor

What is your team/division name ?

AECO

Are you willing to contribute ?

None

Are you using Modus Web Components in production ?

No response

kuhnboy avatar May 01 '24 20:05 kuhnboy