Return the type of field based on the RDF, e.g. radiobuttons, dropdown etc. Generate appropriate types of input options based on this and add corresponding logic. Pull request is based on issue #187 and #169 .
[x] add field types to RDF definitions #183, #134
[x] return types in field api #164
[x] create a switch for adding field in front end #134
It should be documented what input type is actually suitable in which situation. For example the dropdown field would mean a complete overview of all possibilities, but a single one to choose, because it stays in that field. Other logic could read the value, add it as an 'annotation label' and clear the input field again.
Return the type of field based on the RDF, e.g. radiobuttons, dropdown etc. Generate appropriate types of input options based on this and add corresponding logic. Pull request is based on issue #187 and #169 .
The list of types of fields known to accurator:
auis:DropdownField auis:TextField auis:RadioButtonField auis:CheckboxField auis:SelectField
It should be documented what input type is actually suitable in which situation. For example the dropdown field would mean a complete overview of all possibilities, but a single one to choose, because it stays in that field. Other logic could read the value, add it as an 'annotation label' and clear the input field again.