rasvaan / accurator

Accurator cpack
7 stars 3 forks source link

Differentiate between types of inputs #214

Closed rasvaan closed 8 years ago

rasvaan commented 8 years ago

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.