I have a BelongsTo laravel nova field with nullable values allowed and searchable but when I click on x to remove field value and save resource, again I have old value stored so its imposible to remove
BelongsTo::make('Empresa')
->prepopulate()
->sortable()
->searchable()
->nullable()
,
First of all, check your policies. Maybe some your policy disallow to show Empresa model.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.