Skip to content

Commit

Permalink
Merge pull request #7 from ahmic/form-field-options
Browse files Browse the repository at this point in the history
Form field options
  • Loading branch information
murdercode authored Jan 26, 2023
2 parents 91b716d + 0dd5f33 commit b73e514
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class Article extends Resource
return [
TinymceEditor::make(__('Content'), 'content')
->rules(['required', 'min:20'])
->fullWidth()
->help(__('The content of the article.')),
];
}
Expand Down
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<DefaultField :field="field" :errors="errors" :show-help-text="showHelpText">
<DefaultField :field="field" :errors="errors" :show-help-text="showHelpText" :full-width-content="fullWidthContent">
<template #field>
<editor
:id="field.attribute"
Expand Down

0 comments on commit b73e514

Please sign in to comment.