Ingredient BelongsTo Menu, so basically I have created an actions EditIngridient and CreateIngridient which returns form of couple fields. One of them is relation of menu. However on edit page/create page I'm getting an error Call to a member function menu() on null. 
return
parent::form($form)
->schema(
[
TextInput::make('code'),
Select::make('menu_uuid')->relationship(name: 'menu', titleAttribute: 'code')
]
);