newforms
newforms copied to clipboard
How to disable few options in ChoiceField?
I couldn't find how to disable options in ChoiceField.
let stages = [
[1, 'First'],
[2, 'Second'],
[3, 'Third'],
[4, 'Fourth'],
[5, 'Fifth']
];
I want 2-5 to be disabled. How it should be done? Thanks for the answer.
+1