vitalets/x-editable — pull request #598 by iqqmuT (2014-06-02 21:18:11+00:00)
Title: Support setting class to select options

Setting class to select option is possible by giving 'inputclass' to source array:

source: [
{value: 1, text: 'Active', inputclass: 'active'},
{value: 2, text: 'Blocked', inputclass: 'blocked'},
{value: 3, text: 'Deleted', inputclass: 'deleted'}
]

Output:

Active

Blocked

Deleted