support Select in Toolbar, fixes #17859