question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature request] getSelectedItems() & placeholder for sap.m.TableSelectDialog

See original GitHub issue

Placeholder for Search field in TableSelectDialog

There seems no placeholder or tooltip hint for search field in TableSelectDialog, no way to tell users the search criteria. something like placeholder in InputBase

image

getSelectedItems()

User scenario: I use MultiInput in sap.ui.comp.filterbar.FilterBar as a filter item and set showValueHelp=true for sap.m.MultiInput, then open TableSelectDialog in valueHelpRequest event. After delete button is click in sap.m.Token, I want to also update selected items in TableSelectDialog(which is used as value help dialog)

image

something like getSelectedItems in ListBase

setSelectedItems()

User Scenario: When I click Restore button in the filter bar(sap.ui.comp.filterbar.FilterBar), selections remembered also need to restored, but I failed to find setSelectedItems(null) or resetSelectedItems() in TableSelectDialog

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
GerganaKremenskacommented, Aug 30, 2018

Hello @TinaC ,

We will create a backlog to give the user the option to set their on placeholder text in the sap.m.Searchfield and when we have the capacity it will be implemented.

“After delete button is click in sap.m.Token, I want to update selected items in TableSelectDialog(which is used as value help dialog)” You can not use sap.m.Multiinput to open sap.m.TableSelectDialog, so this is not a valid case.

The Restore button is not actually a restore but a Clear button, you can read about its functionality here: showClearButton.

Best Regards, Gery

0reactions
TinaCcommented, Sep 1, 2018

@GerganaKremenska

You can not use sap.m.Multiinput to open sap.m.TableSelectDialog, so this is not a valid case.

This is implemented by myself: I use MultiInput in sap.ui.comp.filterbar.FilterBar as a filter item and set showValueHelp=true for MultiInput, then open TableSelectDialog in valueHelpRequest event.

I’ve updated user scenario in my issue for more details. Can you reopen this issue so we can have a continue discuss about the necessity of getSelectedItems & setSelectedItems ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Search field placeholder in sap.m.TableSelectDialog
Hi, I was using sap.m.TableSelectDialog for my application. I wanted to modify the placeholder available in the Search field but could not ...
Read more >
sap.m.TableSelectDialog - API Reference - Demo Kit
Determines the progressive loading. When set to true , enables the growing feature of the control to load more items by requesting from...
Read more >
sapui5 how to provide placeholder for sap.m.Select Tag
Using sap.m.ComboBox we can get placeholder. But i dont want to use that. Im trying to do some work around by getting placeholder...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found