Hello Elise,
Thank you for contacting us.
Query 1: How can I dynamically clear the selected choices from the top box of the dropdown? I can reset the checkboxes dynamically but the text in that box doesn't clear.
You can dynamically clear the selected values by passing false in the selectAll method. Kindly refer to the following code.
public onclick = () => {
this.mulObj.selectAll(false);
} |
Query 2: Also, what is shown changes format seemingly randomly- sometimes showing the total count selected and sometimes showing the names of what was selected- is there a methodology behind that?
If the selected content fits inside the input box, the dropdowns display the selected items directly. If the width of the selected items exceeds the input box, then the items that does not fit are displayed with “+ X more” template. This is the control’s behavior.
Let us know if you need any further assistance on this.
Regards,
Prince