title: REACT.js on select disable radio button and check second option
body: <p>I have been changing a form based on REACT and this is something I am a newb with (been using it already for 4 months but just segments of it, sometimes actual progress with the programming is based on pure luck and every time on advices of good people found here).</p>
  
  <p>Currently I have a task of re-developing a form of this look:
  <a href="https://i.stack.imgur.com/ePtLf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ePtLf.jpg" alt="enter image description here"></a></p>
  
  <p>What I need to achieve is Calibration radios' behavior based on Type's selection: if argument <code>calibration</code> is set to 0 (zero) then disable option 'Accredited' and check second option automatically.</p>
  
  <p><strong>Edited: 19 Oct 2017</strong></p>
  
  <p>This creates the drop down, and the DD works great:</p>
  
  <pre><code>createSuggestInput(name) {
      const { id, value, labels } = this.props;
      const _t = this.props.intl.formatMessage;
  
      var options = [
        { value: 'one',   label: 'One',   calibration: '0' },
        { value: 'two',   label: 'Two ',  calibration: '1' },
        { value: 'three', label: 'Three', calibration: '0' },
        { value: 'four',  label: 'Four',  calibration: '1' },
      ];
  
      return  &lt;Select.Creatable
                       name = {`${id}_${name}`}
                      value = {this.state.brandSelect}
                placeholder = {_t(translations.txtSuggest)}
                    options = {options}
                   onChange = {this._onChange.bind(this)}
                      label = {labels[name]}
                        key = {`${id}_${name}`}
          promptTextCreator = { (label) =&gt; _t(translations.txtCreate) + ' ' + label + _t(translations.txtCreateEnter) }
      /&gt;;
  }
  </code></pre>
  
  <p>When selected option's calibration value is ZERO, I need to update set of Calibration radio buttons, by disabling the option "Accredited" and at the same time checking the second option, "Not Accredited".</p>
  
  <pre><code>createRadioCalibration(name) {
      const { id, value, labels } = this.props;
      const _t = this.props.intl.formatMessage;
  
      const ACCREDITATION_TYPES = [
          [CALIBRATION_ACCREDITED, _t(messages.calibrationAccredited)],
          [CALIBRATION_NOT_ACCREDITED, _t(messages.calibrationNotAccredited)]
      ];
  
      return  &lt;FormChoiceGroup
                      type = "radio"
                    values = {ACCREDITATION_TYPES.map(mapValueArray)}
                       key = {`${id}_${name}`}
                      name = {`${id}_${name}`}
                     value = {value[name]}
              handleChange = {this.handleFieldChangeFn(name)}
              /&gt;;
  }
  </code></pre>
  
  <p>These two are rendered as follows:</p>
  
  <pre><code>render () {
  
      const FIELDS = {
          [CALIBRATION]: this.createRadioCalibration(CALIBRATION),
          [TYPE]: this.createSuggestInput(TYPE),
      }; 
  
      return (
          &lt;div className="repair-form-device repair-form-device-field-row"&gt;
  
              &lt;div className="repair-form-device-id"&gt;
                  {id + 1}
              &lt;/div&gt;
  
              &lt;div className="clearfix repair-form-device-content"&gt;
  
                  &lt;div className=""&gt;
                      { FIELDS[TYPE] }
                  &lt;/div&gt;
  
                  &lt;div className=""&gt;
                      &lt;label&gt;{_t(messages.repair)}&lt;/label&gt;
                      { FIELDS[CALIBRATION] }
                  &lt;/div&gt;
  .....
  </code></pre>
  
  <p>And lastly the <code>_onChange</code> function:</p>
  
  <pre><code>_onChange(tool) {
      const { id } = this.props;
      this.setState({
          brandSelect: tool
      });
  } 
  </code></pre>
  
  <p>As I stated previously, I am stuck with the main task, which is manipulating the Calibration radio buttons. </p>
  
  <p>I believe I can update its status inside the <code>_onChange</code> function, but everything I tested so far lead me nowhere.</p>
  
  <p>Your patience is much appreciated!</p>