我想問一下,這裏是場景。我有這個複選框,但我的問題是每當我勾選一個複選框時,所有4個複選框都被選中。而且爲什麼它複選框的值就是真或false.Here是我的複選框:多種形式的複選框
<div className="checkbox">
<label><Field name="investor_stage" component="input" type="checkbox" value="Seed" /> Seed</label>
</div>
<div className="checkbox">
<label><Field name="investor_stage" component="input" type="checkbox" value="Early Stages" /> Early Stages</label>
</div>
<div className="checkbox">
<label><Field name="investor_stage" component="input" type="checkbox" value="Formative Stages" /> Formative Stages</label>
</div>
<div className="checkbox">
<label><Field name="investor_stage" component="input" type="checkbox" value=" Later Stages" /> Later Stages</label>
</div>
'ReduxForm'不支持複選框基。 [This](https://github.com/erikras/redux-form/issues/1037#issuecomment-243003954)可能會幫助您解決問題。 –
嗨@JyothiBabuAraja你有一個例子如何實現它。我很新的反應:D。謝謝! –
檢查[this](https://github.com/erikras/redux-form/issues/635#issuecomment-239056316)和[示例](https://github.com/erikras/redux-form/issues/ 635#issuecomment-270785911) –