2
2
3
3
4
4
5
- This control allows you to search and select the Location, also allows enter custom location.
5
+ This control allows you to search and select the Location, also allows enter a custom location.
6
6
7
7
8
8
## How to use this control in your solutions
@@ -40,11 +40,17 @@ import { LocationPicker,ILocationPickerItem } from "fx-controls-react/lib/Locat
40
40
41
41
```
42
42
43
- ![ Location Picker search] ( ../assets/location1.png )
43
+ | * Location searching mode* |
44
+ | :--:|
45
+ | ![ Location Picker search] ( ../assets/location1.png ) |
44
46
45
- ![ Location Picker Edit] ( ../assets/location2.png )
47
+ | * Entering into edit mode* |
48
+ | :--:|
49
+ | ![ Location Picker Edit] ( ../assets/location2.png ) |
46
50
47
- ![ Location Picker Read] ( ../assets/location3.png )
51
+ | * Readonly mode* |
52
+ | :--:|
53
+ | ![ Location Picker Read] ( ../assets/location3.png ) |
48
54
49
55
50
56
@@ -57,22 +63,12 @@ The `LocationPicker` can be configured with the following properties:
57
63
58
64
59
65
| Property | Type | Required | Description |
60
-
61
66
| ---- | ---- | ---- | ---- |
62
-
63
67
| context | WebPartContext or ExtensionContext | yes | The context object of the SPFx loaded webpart or customizer. |
64
-
65
- | disabled | boolean | no | Option allow to be enable or disable. Default value is ` false ` |
66
-
67
- | defaultValue | ILocationPickerItem | no | Option allow set default value|
68
-
68
+ | disabled | boolean | no | Option allows to be enable or disable. Default value is ` false ` |
69
+ | defaultValue | ILocationPickerItem | no | Option allows set default value|
69
70
| errorMessage | string | no | Static error message displayed below the picker.|
70
-
71
- | className | string | no | applies custom styling |
72
-
71
+ | className | string | no | Applies custom styling |
73
72
| label | string | no | Label to use for the control. |
74
-
75
73
| placeholder | string | no | Placeholder label to show in the dropdown. |
76
-
77
- | onSelectionChanged | (locItem: ILocationPickerItem) => void | no | Method that returns location data JSON object. |
78
-
74
+ | onSelectionChanged | (locItem: ILocationPickerItem) => void | no | The method that returns location data JSON object. |
0 commit comments