addRequiredProviderOptions(options) {

    const addressProperties = this.getRequiredAddressProperties();
    if (_.isArray(options.fields) && options.fields.length > 0 ) {
      options.fields.forEach(optionalField => {
        if (!addressProperties.some(addressProp => optionalField === addressProp)) {
          addressProperties.push(optionalField);
        }
      });
    }
    options.fields = addressProperties;
  }
Adds the required provider options to the options.
@param {AutocompleteOptions} options - The autocomplete options.