uasoft-indonesia / badaso

Laravel Vue headless CMS / admin panel / dashboard / builder / API CRUD generator, anything !
https://badaso.uatech.co.id
MIT License
1.22k stars 222 forks source link

Search returns also fields from linked table (Crud with Model) #1044

Closed Dri372 closed 8 months ago

Dri372 commented 1 year ago

Badaso 2.9.4

Describe the bug Example :

How to reproduce

miftahurrahmi commented 11 months ago

Our internal team has rechecked the error you experienced, and they have also followed the steps you mentioned. However, our team did not encounter any issues.

miftahurrahmi commented 11 months ago

Have you made sure that when performing CRUD management on the 'cars' table in the 'color_id' column, the input type is set to 'relation'? If not, and you might have chosen 'select' as the input type, the above error might occur. Also, why did you add the 'relation belongsTo' method to the custom car model when Badaso already automatically generates all types of table relations? It's better to customize only the model functions that are not available in Badaso.

Thank you for your enthusiasm in using Badaso.

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.