adding functionality to support custom attributes on value-options