Add select.setOptions method to dynamic update items #1100

This resolves #1100