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
fix: resolve lookup field display issues in ListView, DetailView, and DetailSection
Bug 1 (ListView): Gate data fetch on objectDefLoaded to prevent race condition
where $expand is empty on first fetch due to async objectDef loading.
Bug 2 (DetailView): Load objectSchema via getObjectSchema, compute $expand
fields, and pass them to findOne() so lookup/master_detail fields are expanded.
Bug 3 (DetailSection): Accept objectSchema prop and enrich fields missing
type/options/currency from objectSchema metadata before rendering.
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
},[schema.objectName,schema.data,dataSource,schema.filters,effectivePageSize,currentSort,currentFilters,activeQuickFilters,normalizedQuickFilters,userFilterConditions,refreshKey,searchTerm,schema.searchableFields,expandFields]);// Re-fetch on filter/sort/search change
638
+
},[schema.objectName,schema.data,dataSource,schema.filters,effectivePageSize,currentSort,currentFilters,activeQuickFilters,normalizedQuickFilters,userFilterConditions,refreshKey,searchTerm,schema.searchableFields,expandFields,objectDefLoaded]);// Re-fetch on filter/sort/search change
628
639
629
640
// Available view types based on schema configuration
0 commit comments