Theme::Pf: set required attr to subfields

Set the "data-required" HTML attribute to subfields of compounds fields.