Datatable chosen dropdown value should not be editable

Datatable.
I have a dropdown field in a datatabel.
There are predifined values that users can choose from and the 'Allow user values' is not enabled.
However users are able to edit the value they have chosen and I don´t want that to be doable.

Can you provide some code to stop this from happening?

Hello @steinn_sig,

Do you mean users can enter custom values in a dropdown column?

What version of the Plumsail Forms designer are you using? And what is the version of the app package in the App Catalog?

Yes I mean that.

The desktop app version is 3.7.8
App catalog version 1.1.0.2

@steinn_sig,

I can't reproduce this behavior on my form.

Are you able to edit the options? Or do you see custom values added by other users?
Do you have any custom code related to this specific column?

Yes i have some JS code for this column and that is probably at fault.
I tried in a new list and there is no problem there.

The code iss used to check if the selected value has been used in other records

@steinn_sig,

Make sure the code doesn't change the column values. You can add column validation instead as in this example:
https://plumsail.com/docs/forms-sp/designer/controls/datatable.html#column-validation