Missing typedef for `sap.m.Token.data()`
@niyap is already working on this.
Since Sep 14, 2026.
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
SAPUI5 version: 1.123.2 (though we will be upgrading to 1.127.7 soon)
sap.ui.comp.valuehelpdialog.ValueHelpDialog.setTokens
I read the description of ValueHelpDialog.setTokens() and I realised that sap.m.Token has a data() method for getting Value Help rangeKeyFields information.
However, the sap.m.Token.data() method was not documented. It seems to have 2 parameters: a string parameter and an object parameter of shape { exclude: boolean, operation: sap.ui.comp.valuehelpdialog.ValueHelpRangeOperation, keyField: string, value1: any, value2: any }.
I request documentation of the sap.m.Token.data() method, including the various options for the string parameter and a TypeScript interface for the object parameter.
Screenshot:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.