From 4ae5be318d385879f50359f8ffdec2f2e8798159 Mon Sep 17 00:00:00 2001 From: Joel Rodrigues <19577724+joelfmrodrigues@users.noreply.github.com> Date: Sun, 13 Mar 2022 23:51:42 +0000 Subject: [PATCH 1/2] Fix location picker suggestions API requests --- src/controls/locationPicker/LocationPicker.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/controls/locationPicker/LocationPicker.tsx b/src/controls/locationPicker/LocationPicker.tsx index 3fe6f4a29..ae1765334 100644 --- a/src/controls/locationPicker/LocationPicker.tsx +++ b/src/controls/locationPicker/LocationPicker.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { ILocationPickerProps, ILocationPickerState, Mode, ILocationBoxOption, ILocationPickerItem } from './ILocationPicker'; import styles from './LocationPicker.module.scss'; -import { SPHttpClient, ISPHttpClientOptions, SPHttpClientResponse, AadHttpClient } from '@microsoft/sp-http'; +import { SPHttpClient, ISPHttpClientOptions, SPHttpClientResponse, HttpClient, HttpClientResponse } from '@microsoft/sp-http'; import { Text } from 'office-ui-fabric-react/lib/Text'; import { Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona'; import { ComboBox } from 'office-ui-fabric-react/lib/ComboBox'; @@ -276,8 +276,7 @@ export class LocationPicker extends React.Component Date: Sun, 13 Mar 2022 23:53:35 +0000 Subject: [PATCH 2/2] changelog --- CHANGELOG.JSON | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.JSON b/CHANGELOG.JSON index 9c9d4e67e..24cc3b4f4 100644 --- a/CHANGELOG.JSON +++ b/CHANGELOG.JSON @@ -12,7 +12,8 @@ "SharePoint Framework v1.14.0 support" ], "fixes": [ - "`FilePicker`: `defaultFolderAbsolutePath` doesn't work with `webAbsoluteUrl` [#1129](https://github.com/pnp/sp-dev-fx-controls-react/issues/1129)" + "`FilePicker`: `defaultFolderAbsolutePath` doesn't work with `webAbsoluteUrl` [#1129](https://github.com/pnp/sp-dev-fx-controls-react/issues/1129)", + "`LocationPicker`: Location picker not resolving locations [#1149](https://github.com/pnp/sp-dev-fx-controls-react/issues/1149)" ] }, "contributors": [