Skip to content
New issue

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

Call to a member function fillInto() on null (Nova 4.35.3) #14

Open
quentinlecler opened this issue Oct 21, 2024 · 2 comments
Open

Call to a member function fillInto() on null (Nova 4.35.3) #14

quentinlecler opened this issue Oct 21, 2024 · 2 comments

Comments

@quentinlecler
Copy link

quentinlecler commented Oct 21, 2024

Resource (fields method)

 Tab::make(__('Coordonnées'), [
 Text::make('firstname', 'firstname'),
  InlineText::make('lastname', 'lastname'),
...

Error

exception
: 
"Error"
file
: 
"C:\\Users\\lecle\\Herd\\simucredv4\\vendor\\outl1ne\\nova-inline-text-field\\src\\Http\\Controllers\\NovaInlineTextFieldController.php"
line
: 
41
message
: 
"Call to a member function fillInto() on null"

There is an error occured when trying to update the field.

@quentinlecler quentinlecler changed the title Call to a member function fillInto() on null Call to a member function fillInto() on null (Nova 4.35.3( Oct 21, 2024
@quentinlecler quentinlecler changed the title Call to a member function fillInto() on null (Nova 4.35.3( Call to a member function fillInto() on null (Nova 4.35.3) Oct 21, 2024
@toddb02
Copy link

toddb02 commented Oct 21, 2024

I can report this behavior as well. It is if you have the field in the fieldsForDetail method but it is not in the fields method on the Nova resource. Adding it to the fields method resolves the issue.

@quentinlecler
Copy link
Author

I can report this behavior as well. It is if you have the field in the fieldsForDetail method but it is not in the fields method on the Nova resource. Adding it to the fields method resolves the issue.

It was on the fields method already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants