Hello,
I'm having a problem developing my widget. When I configure my configs.xml file, I add an input like this:
<preference label="List Host Name" name="list_host" defaultValue="" type="hostMulti" header="Test"/>

When i fill it in like this and click on apply, host id are sent. But when I go back to widget preferences, hosts I entered have disappeared and I get this kind of error :

You should know that when I only put one host in the input, no error is displayed
the input of the hosts does not work, but the input of the hostgroups (bellow) works very well.
<preference label="List Hostgroup Name" name="list_hostgroup" defaultValue="" type="hostGroupMulti" header="Test"/>
Do you have any idea where the problem comes from?