code: protected void updateList(PageElement pageElement, String textOrKey) throws TechnicalException, FailureException {
          String value = getTextOrKey(textOrKey);
          try {
              setDropDownValue(pageElement, value);
          } catch (final Exception e) {
              new Result.Failure<>(e.getMessage(), Messages.format(Messages.getMessage(Messages.FAIL_MESSAGE_ERROR_ON_INPUT), pageElement, pageElement.getPage().getApplication()), true,
                      pageElement.getPage().getCallBack());
          }
      }
docs: Update a html select with a text value.
  
  @param pageElement
  Is target element
  @param textOrKey
  Is the new data (text or text in context (after a save))
  @throws TechnicalException
  is thrown if you have a technical error (format, configuration, datas, ...) in NoraUi.
  Exception with {@value com.github.noraui.utils.Messages#FAIL_MESSAGE_ERROR_ON_INPUT} message (with screenshot, no exception)
  or
  Exception with {@value com.github.noraui.utils.Messages#FAIL_MESSAGE_VALUE_NOT_AVAILABLE_IN_THE_LIST} message (no screenshot, no exception)
  @throws FailureException
  if the scenario encounters a functional error