added comparison validator code hint to base widget