This repository was archived by the owner on Apr 30, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +47
-46
lines changed Expand file tree Collapse file tree 1 file changed +47
-46
lines changed Original file line number Diff line number Diff line change @@ -206,52 +206,53 @@ _Example radio field_
206
206
207
207
_ Example select field_
208
208
``` json
209
- {
210
- "key" : " transportation" ,
211
- "type" : " select" ,
212
- "templateOptions" : {
213
- "label" : " How do you get around in the city" ,
214
- "options" : [
215
- {
216
- "name" : " Car"
217
- },
218
- {
219
- "name" : " Helicopter"
220
- },
221
- {
222
- "name" : " Sport Utility Vehicle"
223
- },
224
- {
225
- "name" : " Bicycle" ,
226
- "group" : " low emissions"
227
- },
228
- {
229
- "name" : " Skateboard" ,
230
- "group" : " low emissions"
231
- },
232
- {
233
- "name" : " Walk" ,
234
- "group" : " low emissions"
235
- },
236
- {
237
- "name" : " Bus" ,
238
- "group" : " low emissions"
239
- },
240
- {
241
- "name" : " Scooter" ,
242
- "group" : " low emissions"
243
- },
244
- {
245
- "name" : " Train" ,
246
- "group" : " low emissions"
247
- },
248
- {
249
- "name" : " Hot Air Baloon" ,
250
- "group" : " low emissions"
251
- }
252
- ]
253
- }
254
- }
209
+ {
210
+ "key" : " transportation" ,
211
+ "type" : " select" ,
212
+ "templateOptions" : {
213
+ "label" : " How do you get around in the city" ,
214
+ "valueProp" : " name" ,
215
+ "options" : [
216
+ {
217
+ "name" : " Car"
218
+ },
219
+ {
220
+ "name" : " Helicopter"
221
+ },
222
+ {
223
+ "name" : " Sport Utility Vehicle"
224
+ },
225
+ {
226
+ "name" : " Bicycle" ,
227
+ "group" : " low emissions"
228
+ },
229
+ {
230
+ "name" : " Skateboard" ,
231
+ "group" : " low emissions"
232
+ },
233
+ {
234
+ "name" : " Walk" ,
235
+ "group" : " low emissions"
236
+ },
237
+ {
238
+ "name" : " Bus" ,
239
+ "group" : " low emissions"
240
+ },
241
+ {
242
+ "name" : " Scooter" ,
243
+ "group" : " low emissions"
244
+ },
245
+ {
246
+ "name" : " Train" ,
247
+ "group" : " low emissions"
248
+ },
249
+ {
250
+ "name" : " Hot Air Baloon" ,
251
+ "group" : " low emissions"
252
+ }
253
+ ]
254
+ }
255
+ }
255
256
```
256
257
257
258
## Contributing
You can’t perform that action at this time.
0 commit comments