We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, first off, thanks for this nice little module.
There seems to be an issue where the checkbox field works correctly in table views of a resource:
...but breaks the dedicated form for that resource: (form cannot be submitted due to a JS error)
We have found the following workaround for the issue:
// Answer.php class Answer extends Resource { // ... public function fields(Request $request) { return [ // ... (strpos($request->fullUrl(), '/answers/') !== false // Use plain checkbox in the dedicated form ? Boolean::make('Correct answer?', 'correct_answer')->hideFromDetail(true) // Use inline checkbox in table view : LiveupdateBoolean::make('Correct answer?', 'correct_answer')->hideFromDetail(true)), ]; }
Is there a better way to do this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, first off, thanks for this nice little module.
There seems to be an issue where the checkbox field works correctly in table views of a resource:
...but breaks the dedicated form for that resource: (form cannot be submitted due to a JS error)
We have found the following workaround for the issue:
Is there a better way to do this?
The text was updated successfully, but these errors were encountered: