Skip to content

Add to schema file and generator #35

@phillipmadsen

Description

@phillipmadsen

This is the current data for a field:

{
"fieldInput": "id:increments",
"htmlType": "",
"validations": "",
"searchable": false,
"fillable": false,
"primary": true
},

When using a crud with many fields we need to add a way to include and exclude from the index.blade.php page in the table.blade.php output.

This is what it needs.

{
"fieldInput": "id:increments",
"htmlType": "",
"validations": "",
"incInIndexTable": "false", // THIS IS TO IDENTIFY THE FIELDS TO ADD THE THE TABLE OUTPUT
"searchable": false,
"fillable": false,
"primary": true
},

Also another type that would be very useful is boolean checkbox. right now you have checkbox group but not just a normal checkbox.

Something along the lines of this:

{
"fieldInput": "checkbox_test:boolean",
"htmlType": "default:Checked"
},

Anyway keep up the awesome work you are great.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions