implemented data_attribute widget