poll() discards mount data
Appears that adding poll() to the table causes the the $record in mount to become null after about 2s. The table rows are shown then after about 2s it throws an error.
At first I thought it was the Poll nterval but then changed it to a longer value and the error still happens after 2s. When both the
Attempt to read property "id" on null
At first I thought it was the Poll nterval but then changed it to a longer value and the error still happens after 2s. When both the
->where('campaign_contact_id', $this->record->id )
and poll(2)
there is an error.
Without one or the other, no error
2 Replies
Solution
YES! added
InteractsWithRecord
and removed protected ?Model $record = null;
thanks much. Why I left Nova forever!