getValueAsString(value) {
    if (!value) {
      return '';
    }
    return this.getDate(value) || '';
  }
Get the input value of the date.
@param {any} value - The value to convert to a string.
@returns {string|null} - The string value of the date.