There is a reactive form, in it a number of selects in which data from the server is dynamically loaded.
All select validates = until all fields are selected, the submit button is not active. When re-selecting a value in select, the values ​​in all lower selects are reset. It is assumed that when zeroing down selectors, the form becomes INVALID and the submit button becomes inactive. But in fact it remains VALID at zeroing.
I manually reset all data + value value this.userform.value.значение = "";

Manually change the status to VALID does not work. This property is read only.
How to reset the data? Thank!

    1 answer 1

    If the form is reactive, then it means you must have a form initialization. So take your this.form form and change its value to the control you need. this.form.controls['%input_name%'].setValue(''); or so

     this.form.get('%input_name%').setValue('');