newforms icon indicating copy to clipboard operation
newforms copied to clipboard

How to disable few options in ChoiceField?

Open MartynasZilinskas opened this issue 10 years ago • 1 comments

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.

MartynasZilinskas avatar Aug 06 '15 08:08 MartynasZilinskas

+1

vinceprofeta avatar Mar 31 '17 19:03 vinceprofeta