docs: protected String[] validateSubmittedValues(FacesContext context, UIInput component, Object[] oldValues, String... submittedValues)
              throws FacesException {
          List<String> validSubmittedValues = doValidateSubmittedValues(
                  context,
                  component,
                  oldValues,
                  getSelectItems(context, component),
                  submittedValues);
          return validSubmittedValues.toArray(new String[validSubmittedValues.size()]);
      }