make accept FormConfig object or path to a class
implemented select rendering
refactor, use attributes directly