backbone-forms icon indicating copy to clipboard operation
backbone-forms copied to clipboard

Disabling fields: use $.prop rather than $.attr

Open glenpike opened this issue 9 years ago • 0 comments

We should be using $selector.prop('disabled', true) and $selector.prop('disabled', false); to toggle disabling of fields. This might mean selects are disabled properly.

Check #412, #485, #497 behaves as expected.

By using "prop" we get things like Select2 behaving as expected for free.

glenpike avatar Nov 01 '16 16:11 glenpike