I have an editable "Tags" column in my table, and the names displayed in this column come from a different source than the table's data. When I click on a row to edit the tags, it correctly shows the current names and other options. However, the current names are not pre-selected in the dropdown, which is inconvenient because I have to select all the names again if I want them to remain in the list. I'm not sure if I've missed a setting or if this is not a standard feature. I haven't been able to find a workaround yet.
Okay, I've figured out the issue. In the options list, the value was set to the item's id, while the values in the rows were the names. This caused another problem: the changeset now contains the names instead of the ids, which could lead to duplicate names.
To resolve this, I need to find a way to send the id to the changeset instead of the name.
@alex2222 So the changeset will be created automatically by the table when changes are made to it, so I don't think it would be possible to pass a value into it to try and change it.
One suggestion would be to have a JS variable set to an object with key-value pairs of the IDs to names, you can then take the item's id that is selected or changed and grab the name.
Whatever you can do to synchronize the data of the tags with the name values in the row