I solved it by following the steps in this link
https://laravel-admin.org/docs/en/model-form-field-management