fixed minor issue with datalist attribute in widgets
fixed minor issue with datalist attribute in widgets
corrected check for datalist
Merge pull request #9 from elbaschid/master

Merge back to parent