You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bootstraptable version(s) affected:
Tested with bootstrap-table version 1.8.12 using the bootstrap-table-editable plugin (version 1.5.1)
I opened the issue here because I think I found the reason in bootstrap-table-editable.js file and I didn't find the file in the x-editable repository.
Description
After editing a table field I send the data via editable-url to my server (e.g. a comma separated lists), the server does some modification on the send data (purpose: strip spaces from beginning and end and removes duplicate entries in the list) and sends the changed data back to the client. I'm using the success callback option editable plugin is offering. The problem now is, after modifying the data according to the example given in the manual (http://vitalets.github.io/x-editable/docs.html#editable) the displayed value after hitting the submit button isn't changed.
The line should be: var submitValue = _ref2.newValue;
(newValue is the Value returned from the server, and identical to submitValue if there is no success callback)
I would have changed it by myself, but I didn't find this piece of code in the src tree
Additional context
I checked it with a python flask application running on Linux Mint 21. I used Firefox browser (current version) to reproduce the problem. To me it looks like a easy to reproduce bug.
I hope I did everything right
The text was updated successfully, but these errors were encountered:
Bootstraptable version(s) affected:
Tested with bootstrap-table version 1.8.12 using the bootstrap-table-editable plugin (version 1.5.1)
I opened the issue here because I think I found the reason in
bootstrap-table-editable.js
file and I didn't find the file in the x-editable repository.Description
After editing a table field I send the data via editable-url to my server (e.g. a comma separated lists), the server does some modification on the send data (purpose: strip spaces from beginning and end and removes duplicate entries in the list) and sends the changed data back to the client. I'm using the success callback option editable plugin is offering. The problem now is, after modifying the data according to the example given in the manual (http://vitalets.github.io/x-editable/docs.html#editable) the displayed value after hitting the submit button isn't changed.
Example
https://live.bootstrap-table.com/code/OzzieIsaacs/7583
The editor isn't working there?
You need to provide a valid
data-editable-url
for reproducing it (I don't know where to get one from your test server)Possible (optional)
I think the problem is here:
bootstrap-table/dist/extensions/editable/bootstrap-table-editable.js
Line 1819 in 97b79cf
The line should be:
var submitValue = _ref2.newValue;
(
newValue
is the Value returned from the server, and identical to submitValue if there is no success callback)I would have changed it by myself, but I didn't find this piece of code in the src tree
Additional context
I checked it with a python flask application running on Linux Mint 21. I used Firefox browser (current version) to reproduce the problem. To me it looks like a easy to reproduce bug.
I hope I did everything right
The text was updated successfully, but these errors were encountered: