Fixes #16964.  isValid did not understand editOptions from NumberTextBox