Vazco/uniforms change disabled flag depending on values of the form

Hi Folks,

I’m new on Meteor and React and using it plus uniforms with antd and simpleschema2 I could create a form but I need to set some fields disabled depending on other values of the form.

I created a class extending autoform in which added the method onChange in which I’m able to see the modified key, the new value and all the state of the form, but I don’t know how to change the disabled flag.

Can somebody give me a clue?

Regards

Adrian

I’m looking at doing this exact thing. Did you end up solving this?