EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: rezzonico on April 27, 2020, 04:27:19 AM



Title: form load + easyui-color
Post by: rezzonico on April 27, 2020, 04:27:19 AM
Hi all,

in the following code I am able to initialize an easyui-combobox but not an easyui-color.

http://195.144.40.170/jeasyui/PPP.7/index2.html

Any help is appreciated.

Regards.
Miche¨


Title: Re: form load + easyui-color
Post by: jarry on April 28, 2020, 01:47:21 AM
Please call this code to append a 'color' field to the form.
Code:
<script type="text/javascript">
$.fn.form.defaults.fieldTypes.unshift('color')
</script>