@@ -33,7 +33,7 @@ import { TermLabelAction, TermActionsDisplayMode } from '../../../controls/taxon
33
33
import { ListItemAttachments } from '../../../ListItemAttachments' ;
34
34
import { RichText } from '../../../RichText' ;
35
35
import { Link } from 'office-ui-fabric-react/lib/components/Link' ;
36
- import { Carousel , CarouselButtonsLocation , CarouselButtonsDisplay , CarouselIndicatorShape , CarouselIndicatorsDisplay } from '../../../controls/carousel' ;
36
+ import { Carousel , CarouselButtonsLocation , CarouselButtonsDisplay , CarouselIndicatorShape , CarouselIndicatorsDisplay } from '../../../controls/carousel' ;
37
37
import { TimeDisplayControlType } from '../../../controls/dateTimePicker/TimeDisplayControlType' ;
38
38
import { GridLayout } from '../../../GridLayout' ;
39
39
import { ComboBoxListItemPicker } from '../../../controls/listItemPicker/ComboBoxListItemPicker' ;
@@ -309,7 +309,8 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
309
309
richTextValue : null ,
310
310
canMovePrev : false ,
311
311
canMoveNext : true ,
312
- currentCarouselElement : this . carouselElements [ 0 ]
312
+ currentCarouselElement : this . carouselElements [ 0 ] ,
313
+ comboBoxListItemPickerListId : '0ffa51d7-4ad1-4f04-8cfe-98209905d6da'
313
314
} ;
314
315
315
316
this . _onIconSizeChange = this . _onIconSizeChange . bind ( this ) ;
@@ -1106,7 +1107,7 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
1106
1107
1107
1108
< div className = "ms-font-m" > ComboBoxListItemPicker:
1108
1109
1109
- < ComboBoxListItemPicker listId = { '0ffa51d7-4ad1-4f04-8cfe-98209905d6da' }
1110
+ < ComboBoxListItemPicker listId = { this . state . comboBoxListItemPickerListId }
1110
1111
columnInternalName = 'Title'
1111
1112
keyColumnInternalName = 'Id'
1112
1113
multiSelect = { true }
@@ -1116,6 +1117,10 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
1116
1117
webUrl = { this . props . context . pageContext . web . absoluteUrl }
1117
1118
spHttpClient = { this . props . context . spHttpClient } />
1118
1119
1120
+ < PrimaryButton text = "Change List" onClick = { ( ) => { this . setState ( {
1121
+ comboBoxListItemPickerListId : '71210430-8436-4962-a14d-5525475abd6b'
1122
+ } ) ; } } />
1123
+
1119
1124
</ div >
1120
1125
1121
1126
< div className = "ms-font-m" > iframe dialog tester:
@@ -1128,7 +1133,15 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
1128
1133
hidden = { ! this . state . iFrameDialogOpened }
1129
1134
onDismiss = { ( ) => { this . setState ( { iFrameDialogOpened : false } ) ; } }
1130
1135
modalProps = { {
1131
- isBlocking : true
1136
+ isBlocking : true ,
1137
+ styles : {
1138
+ root : {
1139
+ backgroundColor : '#00ff00'
1140
+ } ,
1141
+ main : {
1142
+ backgroundColor : '#ff0000'
1143
+ }
1144
+ }
1132
1145
} }
1133
1146
dialogContentProps = { {
1134
1147
type : DialogType . close ,
@@ -1324,7 +1337,7 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
1324
1337
onExpandCollapse = { this . onExpandCollapseTree }
1325
1338
onSelect = { this . onItemSelected }
1326
1339
defaultExpandedChildren = { true }
1327
- //expandToSelected={true}
1340
+ //expandToSelected={true}
1328
1341
// onRenderItem={this.renderCustomTreeItem}
1329
1342
/>
1330
1343
0 commit comments