Skip to content

Commit 0a3215e

Browse files
authored
feat: remove live and set json to true (#30)
1 parent 1691d49 commit 0a3215e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Fields/RichEditor.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ private static function createBaseInput(string $name, ?Field $field): Input
3939
->default(null)
4040
->placeholder('')
4141
->statePath($name)
42-
->live()
43-
->json(false)
42+
->json(true)
4443
->beforeStateDehydrated(function () {})
4544
->saveRelationshipsUsing(function () {});
4645
}

0 commit comments

Comments
 (0)