Cannot create new Staff for StaffResource.
Staff model belongs to User. When creating a staff there are 5 inputs: name, position, email, phone_no, and ic_no. Only 'position' is from the 'staffs' table, the others are from the 'users' table. I just added the 'position' field into the StaffResource and it says the field 'position' doesnt have a default value
![](https://utfs.io/f/56b71e3f-5615-4b7d-967f-dfc04bd0ee87-1nq2cb.png)
6 Replies
Please read the error message and also understand how filament works. If your issue is from form create/save, check on form schema, not table columns
my bad
![](https://utfs.io/f/f293a883-92b3-4748-92bc-2434d0126884-1nq2cb.png)
when i want to edit/ insert the position @ jawatan, it shows saved but nothing shows up. it is not saved in the db either. however it is alrdy fillable
![](https://utfs.io/f/75dcc314-711a-43db-81ae-40bc5529ce00-1nq2cb.png)
i think it has something to do with relationships
?
$fillable