From 4acbdb205626d0d82619fe82675814dce3f16b7f Mon Sep 17 00:00:00 2001 From: Danilo Lira <38432384+DaniloLira@users.noreply.github.com> Date: Mon, 3 Feb 2020 16:58:34 -0300 Subject: [PATCH 1/2] Adding new prop option I just added a new prop in documentation. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8287980..3729b42 100644 --- a/README.md +++ b/README.md @@ -67,4 +67,4 @@ And arrays of objects | showDefaultOption | sets the select title is set as an option | Boolean | false | | | textProp | the option's prop that is displayed as the option's text | String | text | | | valueProp | the option's prop that is used to find the selected value | String | value | - +| labelTitle | the option's prop that is displayed as default value | String | Nothing selected | From c35101725865685ca8d668837148d4bc40ea0f30 Mon Sep 17 00:00:00 2001 From: Danilo Lira <38432384+DaniloLira@users.noreply.github.com> Date: Fri, 7 Feb 2020 17:08:09 -0300 Subject: [PATCH 2/2] Solving requested changes --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3729b42..3d53dd3 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,10 @@ And arrays of objects | disabledProp | allows to disable specific options. If an option has this prop set to a truthy value it will disable the option. | String | disabled | | | labelNotFound | text displayed when no option is found in the search results | String | No results matched || | labelSearchPlaceholder | placeholder text for search input | String | Search | | +| labelTitle | the option's prop that is displayed as default value | String | Nothing selected | | options | list of options | Array | [] | | | searchable | display search input | Boolean | false | | | showDefaultOption | sets the select title is set as an option | Boolean | false | | | textProp | the option's prop that is displayed as the option's text | String | text | | | valueProp | the option's prop that is used to find the selected value | String | value | -| labelTitle | the option's prop that is displayed as default value | String | Nothing selected | +