Skip to content

Commit 231027b

Browse files
committed
Add format value option
1 parent c187e4e commit 231027b

File tree

7 files changed

+5073
-451
lines changed

7 files changed

+5073
-451
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ This table shows all the options available in react-tailwindcss-select.
234234
| `isSearchable` | `Boolean` | `false` | Indicates if you can search the elements of the select field. |
235235
| [`formatGroupLabel`](#formatGroupLabel) | `Function` | `null` | Allows you to use a custom rendering template for each subgroup title |
236236
| [`formatOptionLabel`](#formatOptionLabel) | `Function` | `null` | Allows you to use a custom rendering template for each option in the list |
237+
| `formatValue` | `Function` | `null` | Allows your to format the resulted value |
237238
| `loading` | `Boolean` | `false` | Indicates if you want a loader to appear in the field. |
238239
| `menuIsOpen` | `Boolean` | `false` | Indicates if you want the options menu to be displayed by default. |
239240
| `noOptionsMessage` | `String` | `No results found` | Default message when there is no option in the select field. |

0 commit comments

Comments
 (0)