code: public T getSingleValue() {
          List<T> values = getSelectedValue();
          if (!values.isEmpty()) {
              return values.get(0);
          }
          return null;
      }
docs: Only return a single value even if multi support is activate.