@@ -2053,9 +2053,9 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
2053
2053
{ id : "Field2" , title : "Number field" , type : CustomCollectionFieldType . number } ,
2054
2054
{ id : "Field3" , title : "URL field" , type : CustomCollectionFieldType . url } ,
2055
2055
{ id : "Field4" , title : "Boolean field" , type : CustomCollectionFieldType . boolean } ,
2056
- {
2056
+ {
2057
2057
id : "Field5" , title : "People picker" , type : CustomCollectionFieldType . peoplepicker , required : true ,
2058
- minimumUsers : 2 , minimumUsersMessage : "2 Users is the minimum" , maximumUsers : 3 ,
2058
+ minimumUsers : 2 , minimumUsersMessage : "2 Users is the minimum" , maximumUsers : 3 ,
2059
2059
} ,
2060
2060
{
2061
2061
id : "Field6" , title : "Combo Single" , type : CustomCollectionFieldType . combobox , required : true ,
@@ -2064,7 +2064,7 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
2064
2064
{
2065
2065
id : "Field7" , title : "Combo Multi" , type : CustomCollectionFieldType . combobox ,
2066
2066
allowFreeform : true , multiSelect : true , options : [ { key : "choice 1" , text : "choice 1" } , { key : "choice 2" , text : "choice 2" } , { key : "choice 3" , text : "choice 3" } ]
2067
- } ,
2067
+ } ,
2068
2068
{ id : "Field8" , title : "Date field" , type : CustomCollectionFieldType . date , placeholder : "Select a date" }
2069
2069
] }
2070
2070
value = { this . getRandomCollectionFieldData ( ) }
@@ -2669,15 +2669,15 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
2669
2669
2670
2670
const sampleDate = new Date ( ) ;
2671
2671
sampleDate . setDate ( sampleDate . getDate ( ) + i ) ;
2672
-
2673
- result . push ( {
2674
- "Field1" : `String${ i } ` ,
2675
- "Field2" : i ,
2676
- "Field3" : "https://pnp.github.io/" ,
2677
- "Field4" : true ,
2672
+
2673
+ result . push ( {
2674
+ "Field1" : `String${ i } ` ,
2675
+ "Field2" : i ,
2676
+ "Field3" : "https://pnp.github.io/" ,
2677
+ "Field4" : true ,
2678
2678
"Field5" : null ,
2679
2679
"Field6" : { key : "choice 1" , text : "choice 1" } ,
2680
- "Field7" : [ { key : "choice 1" , text : "choice 1" } , { key : "choice 2" , text : "choice 2" } ]
2680
+ "Field7" : [ { key : "choice 1" , text : "choice 1" } , { key : "choice 2" , text : "choice 2" } ] ,
2681
2681
"Field8" : sampleDate
2682
2682
} ) ;
2683
2683
}
0 commit comments