elm-mdl
elm-mdl copied to clipboard
Chips don't work as in the demo app interactive part
I can't replicate the chip behaviour of the interactive demo at the bottom of the "Chips" tab of the demo app, at least not with the code thats given there.
- When built as in the demo app, the chips don't have the delete button.
- When they have a delete button (
Chip.deleteIcon "cancel"
) and aChip.deleteClick
message, delete is triggered by clicking anywhere, not just on the delete circle. - When they have an
Options.onClick
message and aChip.deleteClick
message, the first one in the list always wins.