I'm working with a kanban of the Syncfusion, While submit the form using kanban, I can see text value[ Close ] instead of id[ 1 ] on the submitted form data. Can anyone help me please for get value instead of text from dropdown when submit the kanban form.
Here is my sample code,
<select id="Status" name="Status">
<option value="1">Close</option>
<option value="2">InProgress</option>
<option value="3">Open</option>
<option value="4">Testing</option>
</select>
<script type="text/javascript">
$(function() {
$("#Kanban").ejKanban({
dataSource: window.Users,
actionComplete: function(args){
if (args.requestType == "beginedit" || args.requestType == "add") {
$("#Status").ejDropDownList({ width: '175px' });
});
}
});
});
</script>