sdxmessaging / ui-widgets

Build powerful form inputs/outputs with mithril and streams.
MIT License
4 stars 1 forks source link

`CheckList` - Inner List to use `List` Component #168

Open MichaelPastuch opened 2 months ago

MichaelPastuch commented 2 months ago

Rework the CheckList to manage options in a ListController class, which should also provide sort/filter controls. Some challenges:

MichaelPastuch commented 1 month ago

The ListController will need to store some sort of context that each row can access. Selected items, current cursor position, etc.

This has long been a limitation of ListController that we have overcame in applications by static references to common data for all rows, but I'd much prefer to better handle it. Breaking the ListController row interface would be something for ui-widgets 1.8.