Fix missing fn argument in optionsDropdownDirective

Bug # 11940

Signed-off-by: Alex Coles <alex@alexbcoles.com>