diff --git a/readme.md b/readme.md index 3f69c96..9bc47b0 100644 --- a/readme.md +++ b/readme.md @@ -208,6 +208,7 @@ Models with their `$dashboard_type` set to `edit` also use: * `file`: Fields that contains file uploads * `display`: Displayed information that can't be edited * `user`: This should point to a foreign key that references the id on the users table; setting this will bind items to the user that created them +* `type-new`: This takes the same options as `type` and overrides it when creating new items (eg: to allow input on a field during creation but not after) * `name`: (required by `file` and `image`) Used along with the record id to determine the filename * `delete`: (optional for `file` and `image`) Enables a delete button for the upload when set to true * `ext`: (required by `file`) Configures the file extension of the upload diff --git a/resources/views/dashboard/pages/edit-item.blade.php b/resources/views/dashboard/pages/edit-item.blade.php index ecd0b29..d19bbae 100644 --- a/resources/views/dashboard/pages/edit-item.blade.php +++ b/resources/views/dashboard/pages/edit-item.blade.php @@ -20,26 +20,27 @@ @foreach($columns as $column)