Skip to Content

Icon in smart field

Hi Experts,

I am using smart forms in my details page. I am using smart field as input tab as shown below, i need to place an icon in the respective tab. Please let me know is it possible?

icon.JPG (15.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 13, 2016 at 07:20 PM

    it could be possible, but not in standard library. you could extend the sap control like this:

    1. sap.ui.define([
    2. "sap/ui/comp/smartfield/SmartField"
    3. ], function(SmartField) {
    4. "use strict";
    5. return SmartField.extend("my.SmartField", {
    6. metadata: {
    7. ...
    8. }

    9. ...
    10. });
    11. });



    so you could enhance the control with your own html tags.

    Add comment
    10|10000 characters needed characters exceeded