ibm-products icon indicating copy to clipboard operation
ibm-products copied to clipboard

AddSelect/MultiAddSelect does not support pre-selecting items

Open mohammed-mian opened this issue 2 years ago • 2 comments

The AddSelect/MultiAddSelect components don't presently have the ability to pre-select items on initial render (as far as I can tell). It would be great if a prop could be added to set the component's initial selection state.

mohammed-mian avatar Jul 25 '22 20:07 mohammed-mian

@davidmenendez

mohammed-mian avatar Jul 25 '22 20:07 mohammed-mian

seems reasonable. i'll mark this as an enhancement and will get to it post release. i'll keep you updated as progress is made.

davidmenendez avatar Jul 25 '22 20:07 davidmenendez

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar May 27 '23 03:05 stale[bot]

update: i still think this is a good enhancement, but would definitely require a bit of work because of how selection state is managed in the component. i'm going to remove the wontfix label and try to get to this sooner rather than later.

davidmenendez avatar Jun 02 '23 19:06 davidmenendez