Include checkbox in README.md
This includes the missing checkbox component for the sorting demo.
This commit is contained in:
parent
d1c46fd13f
commit
18218454e2
|
@ -95,6 +95,10 @@ Here the `ListView` will only show elements that contains the content of the `Te
|
|||
StringSorter { roleName: "lastName" }
|
||||
]
|
||||
}
|
||||
|
||||
CheckBox {
|
||||
id:onlyShowFavoritesCheckbox
|
||||
}
|
||||
```
|
||||
This will show in the corresponding `ListView` only the elements where the `firstName` or the `lastName` match the text entered in the `textField`, and if the `onlyShowFavoritesCheckbox` is checked it will aditionnally filter the elements where `favorite` is `true`.
|
||||
The favorited elements will be shown first and all the elements are sorted by `firstName` and then `lastName`.
|
||||
|
|
Loading…
Reference in New Issue