should use `field.$('optgroup')` syntax instead