get defaultValue() {
    let defaultValue = this.emptyValue;
    if (this.component.defaultValue) {
      defaultValue = this.component.defaultValue;
    }

    defaultValue = this.getCustomDefaultValue(defaultValue);

    const checkMask = (value) => {
      if (typeof value === 'string') {
        if (this.component.type !== 'textfield') {
          const placeholderChar = this.placeholderChar;

          value = conformToMask(value, this.defaultMask, { placeholderChar }).conformedValue;
          if (!FormioUtils.matchInputMask(value, this.defaultMask)) {
            value = '';
          }
        }
      }
      else {
        value = '';
      }
      return value;
    };

    if (Array.isArray(this.defaultMask) ? this.defaultMask.length > 0 : this.defaultMask) {
      if (Array.isArray(defaultValue)) {
        defaultValue = defaultValue.map(checkMask);
      }
      else {
        defaultValue = checkMask(defaultValue);
      }
    }

    // Clone so that it creates a new instance.
    return _.cloneDeep(defaultValue);
  }
Get the default value of this component.
@returns {*} - The default value for this component.