JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<input id="combobox5" class="easyui-combobox" name="cb5"/>
<script type='text/javascript'>
$('#combobox5').ready(function () {
$('#combobox5').combobox({
width: 200,
data:
[{ text : 'my text1', id : '1' },
{ text : 'my text2', id : '2' },
{ text : 'my text3', id : '3' }],
textField: 'text',
valueField: 'id',
editable: true
});
var __tmpID = $('#combobox5');
__tmpID.combobox('setText','my text');
});
</script>