- Issue created by @pdureau
- š·šøSerbia finnsky
I've added very quick List component as SDC for now.
- š«š·France pdureau Paris
Hi Ivan,
A few feedbacks about https://github.com/iberdinsky-skilld/ui_suite_material/tree/main/compone...
The attributes object is missing:
<md-list aria-label="Interactive example">
Proposal:
<md-list {{ attributes.setAttribute("aria-label", "Interactive example") }}>
Aria label must be a string prop instead of hardcoded value. Proposal:
<md-list {{ attributes.setAttribute("aria-label", aria_label) }}>
It is not necessary to define
attributes
because automatically injected.items
schema is not defined enough:items: type: array title: List items
Because it is a list of links, proposal:
items: type: object properties: title: { type: string } url: type: string format: iri-reference
If you target UI Patterns 2, there is an available shortcut:
"$ref": "ui-patterns://links"