Closed movicat closed 8 months ago
v3.1.27
v3.2.15
PHP 8.2
After the first state update the validation works, but then it is not checked. And if a column in the database cannot be null, an error is thrown - "SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'content' cannot be null"
The empty state must always be validated
https://github.com/awcodes/filament-tiptap-editor/assets/36602392/45c1b1f9-b08a-4bd0-806f-81971af1a287 https://github.com/awcodes/filament-tiptap-editor/assets/36602392/c7b4a672-1806-4ed5-80b0-e88f7c758ec2
No response
Filament Version
v3.1.27
Plugin Version
v3.2.15
PHP Version
PHP 8.2
Problem description
After the first state update the validation works, but then it is not checked. And if a column in the database cannot be null, an error is thrown - "SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'content' cannot be null"
Expected behavior
The empty state must always be validated
Steps to reproduce
https://github.com/awcodes/filament-tiptap-editor/assets/36602392/45c1b1f9-b08a-4bd0-806f-81971af1a287 https://github.com/awcodes/filament-tiptap-editor/assets/36602392/c7b4a672-1806-4ed5-80b0-e88f7c758ec2
Reproduction repository
No response
Relevant log output
No response