Skip to Content
avatar image
Former Member

How to remove dropdown icon in menuButton in SAPUI5

Hi, I am working on sapui5. While creating MenuButton dropdown icon is automatically there. How to remove? please help me.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 03 at 07:49 AM

    Instead of using MenuButton use Menu (Menu Event ).

    Regards,

    Meghal Shah

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03 at 08:16 AM

    Hi, if you are using MenuItem you can keep icon property blank, or share your code in jsfiddle etc, would be helpful for quick resolution

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks. But icon property is already blank in menuButton. dropdown is comming by default. Thanks for information about jsfiddle.

  • Apr 03 at 10:52 AM

    share your code

    Add comment
    10|10000 characters needed characters exceeded

    • You done the same way rite ?

      <MenuButton text="Calculator" buttonMode="Split" useDefaultActionOnly="true">

      <menu>

      <Menu itemSelected="onMenuAction">

      <items>

      <MenuItem text="basic" >

      <items>

      <MenuItem text="add" />

      <MenuItem text="subtract" />

      <MenuItem text="multiply" />

      </items>

      </MenuItem>

      </items>

      </Menu>

      </menu>

      </MenuButton>

      if again icon is coming that may be cache problem