Pre-filled:
[% P.part.picker('part_id6', pre_filled_part) %]
Convertible unit 'Std': (only select parts with unit Tag/Std/Min)
[% P.part.picker('part_id7', undef, convertible_unit='Std') %]
With multi select popup
[% P.part.picker('part_id8', undef, multiple=1) %]
With multi select popup (only obsolete)
[% P.part.picker('part_id8', undef, multiple=1, status='obsolete') %]
All parts including make models of all vendors:
[% P.part.picker('part_id', undef, with_makemodel=1) %]
All parts including make models of all vendors with multi select popup:
[% P.part.picker('part_id', undef, with_makemodel=1, multiple=1) %]
All parts including customer partnumbers of all customers:
[% P.part.picker('part_id', undef, with_customer_partnumber=1) %]
Styling
In a span:
Leading text: [% P.part.picker('p1', undef, part_type='part,service') %] and text after with spacing Leading text:[% P.part.picker('p2', undef, part_type='part,service') %]and text after without spacing
Leading text: [% P.part.picker('p3', undef, part_type='part,service') %] and text after with spacing with div
Leading text:[% P.part.picker('p4', undef, part_type='part,service') %]and text after with spacing with div
Picker + input next to each other: [% P.part.picker('p5', undef, part_type='part,service', width="100%") %]