Katrid.Forms.FormView
FormView is the view mode used to render a form that allows users to navigate over a single per time. The form view widget can be rendered inside a ModelWindowAction or directly on a DOM element.
<script>
const formStructure = {
fields: {
name: {caption: 'Name'},
category: {caption: 'Category'},
},
template: `...`,
}
const form = new Katrid.Forms.FormView(formStructure);
form.renderTo(document.getElementById('page-content'));
</script>