Closed 5SMNOONMS5 closed 1 year ago
It's true, I have the same issue. Although it's something simple to solve, it doesn't hurt to give a heads up ;)
@5SMNOONMS5 @irafaelfurtado thank you for reporting... soon we'll launch Vemto v2 with this issue already solved
thx @TiagoSilvaPereira, look forward ur v2 version
This issue is very easy to resolve for the this current version of Vemto, Go to Models > Scopes > Searchable.php, Simply add '?' in the search paramter to allow it to accept null value, in this way, this issues will gonna be sovled.
@Ls6375 thx for reply. but still good for author to know, fix will be nice for every project and all new users.
This issue is very easy to resolve for the this current version of Vemto, Go to Models > Scopes > Searchable.php, Simply add '?' in the search paramter to allow it to accept null value, in this way, this issues will gonna be sovled.
The problem is that Vemto v1 does not support adding ? character due to some problems in the Template Engine. The fix is coming to v2 with the improved template engine
Attention: Please use the Discussions page for feature requests or suggestions instead of opening a new issue.
Describe the bug In index page when you search with null value, it appear error , see below
To Reproduce Steps to reproduce the behavior:
Expected behavior no error
Screenshots
Desktop (please complete the following information):
Additional context This should be discuss about application should be allow search null ( means return all data like you first time visit index page ) or disable button when no text input