Editor updates select type when inline update another field
Editor updates select type when inline update another field
8ZyfGVg
Posts: 8Questions: 2Answers: 0
Hi
I have an example which I included a select type field, and for some reason when I inline update another field for the first time, that select field gets update at the same time.
It will update with the first record on that select list.
Here is the test site.
http://apptest.ecoresource.ca
This discussion has been closed.
Answers
Perhaps this is a matter of preset the fields with the current values on the list.
Your
last_name
field contains only:So if you attempt to edit anything in that row, and the value for the last name isn't in that list (i.e. it isn't either Smith or Doe) it will select the first value that is available to it.
The inline editing actually places the whole row into an edit, not just the cell in question, although normally that is all that is updated.
Allan
I figured out a workaround using these entries,
placeholder: "NA",
placeholderDisabled: true,
placeholderValue: 0,
This way I can treat the data before updating on the server.
Thanks.