vaadin/vaadin-tabs-flow

New autoselect constructor throws an exception

Closed this issue · 0 comments

ujoni commented

The new constructor public Tabs(boolean autoselect, Tab... tabs) crashes, if no tabs are given.

// works fine
Tabs tabs = new Tabs(false, tab1, tab2);
// crashes
Tabs tabs = new Tabs(false);

Version 1.4-SNAPSHOT.