Open Elliott-Green opened 11 months ago
@Elliott-Green given the broad scope of application of this type of interface, a component might be too rigid. But I think something like our Scroll Containers under the Tailwind > Blocks section might be relevant here: https://www.skeleton.dev/elements/scroll-containers
We could illustrate the general approach we use for several of our core components, such as listboxes and radio groups. We use the same mechanism for both - which involves dynamic radio/checkbox inputs embedded within the components themselves.
Essentially teach the concept, as we feel it's really solid in practice. Both in or outside a proper form.
Whatever you think will best!
Describe the feature in detail (code, mocks, or screenshots encouraged)
Feature
Radio-'like' buttons whereby the user is selecting 'x' number of items from a 'n' number of multi-selectable items.
Solves problem
The closest components which match the above objective pattern is Listboxes, but they do not have config to span horizontally.
Problem solution
Developer MUST provides
options
array of whatever type they want, an image is somewhat expected to be on each object. Developer MAY provide optional overrides for the component User CAN select items on the UI which on:click which populateschoices
array. Developer MUST be able to fetch the userselection
from a store?Future component config
Feature Scratch Preview
Feature Scratch
What type of pull request would this be?
New Feature
Provide relevant links or additional information.
Recommended to create custom component : https://discord.com/channels/1003691521280856084/1151213014721241128/1154254737995223060 Recommended to share custom component : https://discord.com/channels/1003691521280856084/1025279710609014805/1155547630978486273