Fixes #16964.  Change NumberTextBox's pattern method to understand editOptions, which is used by both isValid() via validator() and CurrencyTextBox via inheritance.