docs: private void updateSelection() {
          Dateitem selectedItem = getSelectedItem();
          
          if (selectedItem == null) {
              addStyle("color", "gray");
          } else {
              addStyle("color", "inherit");
          }
          
          setFocus(false);
      }