added pull request #446 - Added functionality to support custom valueOption attributes