Allow selected and disabled options

Related to #81 issue.
Merge pull request #114 from sterrien/master

Allow selected and disabled options