You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow your Demo 1 (address Book) and having a hard time to figure out why my code fails the validation as the customer_id is required.
My use case is create a customer first, save, edit customer , add new address which fail the validation as customer_id field is required for new address. How do I fix the issue ?
Updated: It turns out I must remove the 'customer_id' as required from Address model. Is there another solution ? I prefer to keep customer_id as 'required'
The text was updated successfully, but these errors were encountered:
I follow your Demo 1 (address Book) and having a hard time to figure out why my code fails the validation as the customer_id is required.
My use case is create a customer first, save, edit customer , add new address which fail the validation as customer_id field is required for new address. How do I fix the issue ?
Updated: It turns out I must remove the 'customer_id' as required from Address model. Is there another solution ? I prefer to keep customer_id as 'required'
The text was updated successfully, but these errors were encountered: