b46dc44a95
Here's a concise PR description for your changes: --- ## Fix morph relation fields showing placeholder in kanban view **Problem:** Morph relation fields always displayed placeholders in kanban view even when records were selected, because `useRecordFieldValue` was checking the base field name (e.g., `"favorite"`) instead of the computed morph field names (e.g., `"favoriteCompany"`). **Solution:** Modified `useRecordFieldValue` to accept an optional `fieldDefinition` parameter and added special handling for morph relations that uses `recordStoreMorphManyToOneValueWithObjectNameFamilySelector` and `recordStoreMorphOneToManyValueWithObjectNameFamilySelector` to correctly retrieve values. Updated `useIsFieldEmpty` to pass the field definition through, enabling proper empty state detection for morph relation fields. **Impact:** Morph relation fields now correctly display their values in kanban board cards instead of showing placeholders. Fixes https://github.com/twentyhq/core-team-issues/issues/1323 <img width="681" height="420" alt="Screenshot 2025-10-22 at 14 11 07" src="https://github.com/user-attachments/assets/de357379-ebff-42c6-bb93-1f0c43ce086d" />