added array and object support for isLength widget