Menu
  • HOME
  • TAGS

SAPUI5 - custom searchfield properties

javascript,xml,sap,sapui5,sap-fiori

in controller in onInit() or onDataLoaded() this.byId("yourListId").setNoDataText("No info returned for this search"); OR in XML itself you can set <List noDataText="No info returned for this search" /> ...

Bind constraints in Input control of SAPUI5

data-binding,sapui5,openui5,sap-fiori

there is a property called maxLength for Input Control. So the only problem I see is binding minLength and decimals for which there is little bit effort is needed. Solution Create your own input control by extending the existing Input Control.How to achieve it? Sample Code Structure: jQuery.sap.require("sap.m.Input"); jQuery.sap.declare("sap.m.ComplexInput"); sap.m.Input.extend("sap.m.ComplexInput",...

Weird behavior while Suppress “Bookmarks” button in SAPUI5, Fiori

html5,sap,sapui5,sap-fiori

The most likely cause for this would be the UI5 version(the latest update that you mentioned). Try one of these two things, Clear cache and re-run the application Revert to a previous UI5 version or update to a new version Contact the respective support team(Scaffolding team I assume) if these...

SAPUI5 Filter Search

filtering,sapui5,sap-fiori

The filters are applied to the ListBinding and there is no official API to access to current filter objects. You could store the filters somewhere in your controller, but eventually, you'll need to call the filter method again with all the filters that you want to apply.