Added the possibility to use "option" field type outside a group. This is convenient to create just a single checkbox.

This commit is contained in:
Tomas Bures 2018-12-28 20:54:00 +01:00
parent 64af46b685
commit 2e847460f4
10 changed files with 117 additions and 26 deletions

View file

@ -357,6 +357,9 @@ class CheckBox extends Component {
}
}
@withComponentMixins([
withFormStateOwner
])
class CheckBoxGroup extends Component {
static propTypes = {
id: PropTypes.string.isRequired,