Skip to content

Commit 32438b0

Browse files
committed
Added docs for pluckSingleValue.
1 parent 25838c9 commit 32438b0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/react-renderer-demo/src/docs-components/pf3-select.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
### Select
2+
3+
There are some additional props for PF3 variant to match PF3 requirements.
4+
5+
|prop name|type|default value|description|
6+
|---------|----|-------------|-----------|
7+
|pluckSingleValue|`bool`|`true`|If a value is an array, component will pick its first item and set it as a new value. This will override the value in state from `[2, 4, 5]` to `2` for example.|
8+
19
### Async Select
210

311
PF3 Select allows to load the options asynchronously.

0 commit comments

Comments
 (0)