work in the new widget type attribute