Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Customizing MultiComboBoxItem buttons

    I'm trying to add a picture to the buttons/values of a MultiComboBoxItem and I am unsure if I am doing it right.

    I have tried to use a FormItemValueFormatter via MultiComboBoxItem.setValueFormatter() and this worked to some extend but caused a lot of other problems so I am not sure if that is the right approach.

    I want to try instead to set an autoChild constructor for the 'button' autoChild, would that work?

    #2
    FormItemValueFormatter would be the preferred way to do this, since customizing the Button AutoChild wouldn't really give you a way to customize each button on a per-value basis.

    What logic did you put into your Formatter and what were the "other problems" you saw?

    Comment

    Working...
    X