backbone-stikit binding to disabled element

168 views Asked by At

i am using backbone and stikit for model binding, on some business cases the model sent from server may set a flag to disable a html element whose value is bound to another model attribute

The problem is that if a malicious user used the console to enable the element back and change its value, the model will be updated by stikit binding.

The question here what is the best practice to stop this behavior, keeping in mind that for business use the element data should rendered to show the data

0

There are 0 answers