From 413bd3829b384d1cd45ed9ed036b3fbb248eaf32 Mon Sep 17 00:00:00 2001 From: Jed Watson Date: Thu, 7 Apr 2016 01:13:11 +1000 Subject: [PATCH] Fixing release notes for v1.0.0-beta11 --- HISTORY.md | 2 ++ README.md | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index cf56725416..b56307beeb 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -8,6 +8,8 @@ ## v1.0.0-beta11 / 2016-03-09 * updated dependencies to allow use with React 15.x +* changed; multiple selected values are now submitted using multiple inputs, thanks [Trinh Hoang Nhu](https://github.com/james4388) +* added; `joinValues` prop to revert the above change and submit multiple values in a single field with the delimiter ## v1.0.0-beta10 / 2016-02-23 diff --git a/README.md b/README.md index c429b28469..6c20e6072c 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,9 @@ function logChange(val) { You can enable multi-value selection by setting `multi={true}`. In this mode: * Selected options will be removed from the dropdown menu -* The values of the selected items are joined using the `delimiter` property to create the input value -* A simple value, if provided, will be split using the `delimiter` property +* The selected values are submitted in multiple `` fields, use `joinValues` to submit joined values in a single field instead +* The values of the selected items are joined using the `delimiter` prop to create the input value when `joinValues` is true +* A simple value, if provided, will be split using the `delimiter` prop * The `onChange` event provides an array of the selected options as the second argument * The first argument to `onChange` is always a string, regardless of whether the values of the selected options are numbers or strings * By default, only options in the `options` array can be selected. Setting `allowCreate` to true allows new options to be created if they do not already exist.