group_button icon indicating copy to clipboard operation
group_button copied to clipboard

Consider adding onChage method with button values

Open vasilich6107 opened this issue 2 years ago • 4 comments

It would be great to have the api that allows setting selected buttons not by index but with actual buttons values. For example while using in forms

Also it would be great to have onChange method with selected button values

vasilich6107 avatar Dec 31 '21 12:12 vasilich6107

I'm going to make a GroupButton with possibility of generic value types in 5.0.0 version The idea is very good! I also need this functionality in my personal projects.

Frezyx avatar Jan 05 '22 19:01 Frezyx

Hello @vasilich6107 ! This feature is available in new 5.0.0 package release

Frezyx avatar Apr 09 '22 20:04 Frezyx

@Frezyx this is not what was requested. The onSelected method gives only the current selected value. What is required - onChange method with all selected values.

It is not comfortable to operate with indexes. While using the onSelected method user have to get values by indexes, he also have to handle index deletions rather than simply using the control.

vasilich6107 avatar May 06 '22 16:05 vasilich6107

@Frezyx this is not what was requested. The onSelected method gives only the current selected value. What is required - onChange method with all selected values.

It is not comfortable to operate with indexes. While using the onSelected method user have to get values by indexes, he also have to handle index deletions rather than simply using the control.

I agree too. and @Frezyx please consider adding an option to choose regular old buttons

VIP-Dev-Invisible avatar Aug 08 '22 18:08 VIP-Dev-Invisible