moved the format parent items function to item_input as widgets is more for generic functions