Building a confirmable MultiSelect with Angular's ControlValueAccessor
There’s a specific kind of late-project design request that every developer recognises. It sounds like nothing: “Could we just add a confirm step to the multiselect? So it only applies when you press Confirm?” That’s the request. A button. Turns out there is no such thing as just a button. In one of the projects I worked on, we had exactly this requirement. A dropdown multiselect needed to support a draft state: users could select options, deselect them, and click around as much as they wanted, but nothing would be committed to the form until they hit “Confirm”....