code: public ElementWithOptions addOptionToGroup(Object value, String text, String groupId) {
          String valueString = "";
          if (value != null) {
              valueString = value.toString();
          }
  
          return addOptionToGroup(valueString, text, groupId);
      }
docs: Adds an option to the group of this element with the given id.
  If the group is not found, it's created with null text.
  @param value Unique value in this element
  @param text Option text
  @param groupId Id of the option group
  @return This element