Open cdeyoung opened 12 years ago
As is, Bootstrap-transfer doesn't support tag values with spaces. For example, if you have the value attribute "test me" and run that through bootstrap-transfer, what you'll get is a tag that looks like this:
And only "test" will be sent to the server.
In order to support values that have spaces, you'll need to change line 112 in bootstrap-transfer.js from:
source[i].append('<option ' + selected + 'value=' + e[0].value + '>' + e[0].content + '</option>');
to this:
source[i].append('<option ' + selected + 'value="' + e[0].value + '">' + e[0].content + '</option>');
Notice the double quotes in the value= section?
Again, great plugin with just a couple of minor issues.
As is, Bootstrap-transfer doesn't support
And only "test" will be sent to the server.
In order to support
to this:
Notice the double quotes in the value= section?
Again, great plugin with just a couple of minor issues.