Closed
Description
First of all, thanks for your awesome library, it helps me a lot...
I wonder if the library can render the select tag like:
<select>
<option value="id1">Title 1</option>
<option value="id2">Title 2</option>
</select>
for the enum, and I read the post #42, I found that we can use the script to decorate the returned object. But my situation is I load the scheme on the fly, and have no way to put the right decoration script.
I look into your source code: line 193-195:
var option = document.createElement("option");
var textNode = document.createTextNode(s.enum[i]);
option.value = s.enum[i];
then the value and the title are the same.
Is there any support for value/title select in near future?
Metadata
Metadata
Assignees
Labels
No labels