     default = opts[:value] || %{hour: 0, min: 0}
     class = opts[:class] || ""
     label = opts[:label] || humanize(field)
-    {error, _} = Keyword.get form.errors, field, {nil, nil}
+    error = error_message(form, field)
 
     wrapper_class = if error do "is-invalid" else "" end
 

    class = opts[:class] || ""
    label = opts[:label] || humanize(field)
    required = opts[:required] || nil
    {error, _} = Keyword.get form.errors, field, {nil, nil}

    value = Map.get form.data, field
    wrapper_class =

    label = opts[:label] || humanize(field)
    selected = opts[:selected] || nil
    tooltip_text = opts[:tooltip_text] || "Add new item"
    error = error_message(form, field)

    multiselect_id = (Atom.to_string field) <> "__multiselect"
    button_id = (Atom.to_string field) <> "__add-button"
