CRUD applications can be added from the Applications tab.
To add a new CRUD application, you can click on the Add CRUD button under the Applications Tab.
{info} After creating a new CRUD application, Vemto will automatically identify the Model fields and create the related inputs (including the Relationship selects).
Clicking on an Application card, you can access the CRUD Editor. When you open it, it shows you the Forms Tab, where you can add/remove inputs, edit the form responsivity, and update all the components options.
To add a new Input Component, just click on it under the Components Panel. It will open a modal in that you can choose if you want to add a Standalone Component or a component Linked to a Model Field.
Each form input has the following options:
To add a Belongs To relationship input (a select input by default), just select a foreign field in the Linked to Model Field model when adding a new input.
Linking to an FK field
The added Select for Relationship
{info} Even if you are not adding a Select Input, if you select an FK field, Vemto will always add a Select for Relationship input.
To change the form inputs responsivity, just select the screen mode on the inputs area top-right corner, then change the screen size on the input options.
The Form Validation settings are available under the Validation Tab. Vemto supports all Laravel Validation rules and has a built-in search to facilitate you selecting the correct rules.
{info} Vemto will automatically generate the basic validation based on the field name, type, and settings
The Form Settings are available under the Settings Tab. Currently, the following options are available:
Under the API tab, you can select what endpoints you want to generate for the current CRUD application.