diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2017-02-16 10:14:38 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-02-16 10:14:38 +0200 |
commit | 1891ffa6e1c4db8bc0d0f60eca255895a6448bdd (patch) | |
tree | e93a79a4be27fdecaadab7effc002d2f5492f9f2 /tests | |
parent | 20947e0e0893c955ec6e42579a29a913c3c74883 (diff) | |
download | vaadin-framework-1891ffa6e1c4db8bc0d0f60eca255895a6448bdd.tar.gz vaadin-framework-1891ffa6e1c4db8bc0d0f60eca255895a6448bdd.zip |
Reduce ComboBox initial requests (#8571)
* Reduce ComboBox initial requests
Use initial fetched data on client side,
do not request data from server side for each time popup is opened.
Fixed initial filter being null for ComboBox on DataProvider,
causing unnecessary size & fetch for not-changed filter.
Fixed ComboBox sending default filter unnecessarily to server.
Fixed wrong page indexing in VComboBox -> ComboBoxConnector.
Fixes #8496
Fixes vaadin/framework8-issues#488
* Fix last item missing
When pageLength was 0 and nullSelectionAllowed,
the last item was not shown. Tried to sensify the API
for total suggestions versus total suggestions + null selection item.
* Fix ComboBox selected item updates
Handles changing of ItemCaptionGenerator or ItemIconGenerator,
need to update the selected item caption and icon separately.
Previously it worked because all data was sent all the time to client.
Doesn't fix the issue, when selected item is updated with refreshItem(),
and it is not on the active range that will be sent to client.
For that, ComboBox would need a separate notification about item update.
* Updated screenshots
Diffstat (limited to 'tests')
m--------- | tests/screenshots | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/screenshots b/tests/screenshots -Subproject c233d26d0af136183eef3707461e2df0d026ff4 +Subproject 9a77b414d2eed1d74c559916d81df9b92ce680e |