isValidNewOption

abstract var isValidNewOption: (inputValue: String, Options<Option>, options: OptionsOrGroups<Option, Group>, accessors: Accessors<Option>) -> Boolean?(source)

Determines whether the "create new ..." option should be displayed based on the current input value, select value and options array.