I want to use the Cascader component to allow selections at both the deepest level and at intermediate levels. In either case, I want to be able to use nameOfCascader.value to retrieve the selected item.
The default configuration forces me to drill down all the way to the last level. I cannot find a way to stop and select a value at an intermediate level.
Looking at the docs, I see there is a property called checkStrictly [1] that seems to solve this, but I cannot find the setting for it in the component inspector panel.
Data Context:
The data I want to present comes from a single database table of the format:
| id | name | parent_id |
|---|---|---|
| 1 | foo | 1 |
| 2 | bar | 1 |
| 3 | baz | 2 |
| 4 | whizz | 3 |
| 5 | buzz | 4 |
| 6 | fizz | 4 |
Right now, I can only select buzz and fizz, but I need to be able to select foo, whizz, etc., as well.
References: