Is it possible to also create forms in Hubleto using only views and ADIOS input components or do I have to make every form with React, if I want to use ADIOS input components?
Is it possible to also create forms in Hubleto using only views and ADIOS input components or do I have to make every form with React, if I want to use ADIOS input components?
You can render forms in Twig views using notation, for example to render a form for the "Project" model you can create following Twig-based view:
<app-form
uid="modify-project-form"
model="MyApp/Models/Project"
></app-form>
Do not forget to register the Form.tsx component in your index.tsx file:
import Form from "adios/Form";
app.registerReactComponent('Form', Form);