Class LinkkiComponentUtil


  • public class LinkkiComponentUtil
    extends Object
    Utility class for common component adjustments
    • Method Detail

      • preventEnterKeyPropagation

        public static final void preventEnterKeyPropagation​(com.vaadin.flow.component.Component multiLineInput)
        Prevents Key.ENTER to trigger button shortcut in the given component. This is useful for multi-line components in which enter should only add a new line.