support default value for setSelected, refs #8855