Tip: If you want OptionGroup with tooltips on options...

Not supported natively in Vaadin, even though 5 year old bug


If you are happy with just getting native tooltips that don’t look like vaadin tooltips just say (in Scaladin):

htmlContentAllowed=true addItem("<span title='BUDGET!!!!'>Outside budget</span>") However if you want them to look the same as native vaadin tooltips

addItem("<span alt='BUDGET!!!!'>Outside budget</span>") and in your styles.scss

  content: attr(alt);
  position: absolute;
  top: 1em;
  white-space: nowrap;
  z-index: 20; 
  @include valo-tooltip-style;