Skip to content

Commit 58e9a60

Browse files
author
edwardxiao
committed
- Adding icon into <Select/>'s optionList [{id: '1', name: 'Twin Peaks'] => [{id: '1', name: 'Twin Peaks', icon: 'optional']
1 parent 469095a commit 58e9a60

16 files changed

+289
-257
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 4.8.1
2+
3+
- Adding ```icon``` into ```<Select/>```'s ```optionList``` ```[{id: '1', name: 'Twin Peaks']``` => ```[{id: '1', name: 'Twin Peaks', icon: 'optional']```
4+
15
# 4.8.0
26

37
- Replace ```classNameOptionListContainer``` with ```classNameOptionListWrapper``` and provide new ```classNameOptionListContainer``` & change className ```'options-container'``` to ```'options-wrapper'``` in ```<Select/>```

docs/v4-doc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ import 'react-inputs-validation/lib/react-inputs-validation.min.css';
337337
|keyword | Opt | Str |Show a keyword for search box. | '' |
338338
|**validate** |**Opt**|**Bool**| |**false** |
339339
|**validationCallback** |**Opt**|**Func**| |**none** |
340-
|**optionList** |**Req**|**Array**|**[{id: '1', name: 'Twin Peaks']** |**[]** |
340+
|**optionList** |**Req**|**Array**|**[{id: '1', name: 'Twin Peaks', icon: 'optional']** |**[]** |
341341
|classNameSelect | Opt | Str | | "" |
342342
|classNameWrapper | Opt | Str | | "" |
343343
|classNameContainer | Opt | Str | | "" |

0 commit comments

Comments
 (0)