Skip to content

Commit

Permalink
Merge pull request #10 from Nembie/feat/default-values
Browse files Browse the repository at this point in the history
[Feat] Added default values option
  • Loading branch information
allantatter authored Sep 29, 2023
2 parents 04c5bef + f32d720 commit b12cf96
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 18,478 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public function fields(Request $request)
->maxRows(10) // The maximum number of rows in the table
->minColumns(1) // The minimum number of columns in the table
->maxColumns(10) // The maximum number of columns in the table
->defaultValues([ // Default values for new rows
['column_1', 'column_2'], // This is a row
['column_3', 'column_4'], // This is a row
])
];
}
```
Expand Down
Loading

0 comments on commit b12cf96

Please sign in to comment.