predixdesignsystem / px-breadcrumbs

https://www.predix-ui.com/#/elements/px-breadcrumbs
Apache License 2.0
0 stars 2 forks source link

Breadcrumbs should respect the `isSelectable` setting for items #10

Closed davidrleonard closed 6 years ago

davidrleonard commented 7 years ago

Items passed into px-breadcrumbs can have the following key/value

{
"id": "item1",
"label": "Item 1",
"isSelectable" : false
...
}

If isSelectable is false, and the item is tapped in the breadcrumbs UI (either as a top-level item or as an item in a dropdown) the item should not be selected. The context browser and tree already support this. It looks like it may be a bit more complex because breadcrumbs was implemented differently.

davidrleonard commented 7 years ago

See:

randyaskin commented 6 years ago

Added in v1.1.2.