mishka
mishka

Reputation: 687

Undefined property error while trying to create a new resource

I get the Undefined property App\Plan::$bandwidth error when I try to create a new Resource or save the edited value.

However, values are listed fine for the same field during view/edit.

Here is the field definition:

Number::make('Bandwidth', 'bandwidth')->min(0),

Upvotes: 0

Views: 1148

Answers (1)

mishka
mishka

Reputation: 687

The model had a method with the same name. Works fine after the renaming the method. I wonder if this is a bug.

Upvotes: 5

Related Questions