Update custom select

issue #1296