Skip to content

Instantly share code, notes, and snippets.

@zindel
Created April 7, 2016 12:11
Show Gist options
  • Save zindel/0f09d2dd0005a4535724eb194585e852 to your computer and use it in GitHub Desktop.
Save zindel/0f09d2dd0005a4535724eb194585e852 to your computer and use it in GitHub Desktop.
renderSelectionForm(measureTypes) {
console.log(measureTypes);
let form = (
<Form
insert
value={{measure_type: null}}
schema={{
type: 'object',
properties: {measure_type: {type: 'any'}},
required: ['measure_type']
}}>
<RadioGroupField
label="Choose Assessment Type"
options={measureTypes}
select="measure_type"/>
</Form>
);
return form;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment