Enhancement: sap.m.Input with "clear" button if valueHelpOnly="true"
@olannyv is already working on this.
Since Feb 12, 2025.
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
This is an enhancement request for sap.m.Input:
If the input control is in mode valueHelpOnly="true" there is no way for the user to clear the input field once a value has been chosen through the value help.
https://openui5.netweaver.ondemand.com/explored.html#/sample/sap.m.sample.InputStates/preview
This means that valueHelpOnly="true" can only be used for mandatory fields which must be filled by the user. For optional fields we would need some kind of extra button to clear the input.
I wish for some kind of "X" icon/button at the right end of the input which can be clicked to clear the input value.
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.