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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Added
11
11
12
+
-**"Browse All" Button for Lookup Fields** (`@object-ui/fields`): Added an always-visible "Browse All" (table icon) button next to the Lookup quick-select trigger. Opens the full RecordPickerDialog directly, regardless of record count — making enterprise features (multi-column table, sort/filter bar, cell renderers) discoverable at all times. Previously, the dialog was only accessible via the "Show All Results" in-popover button, which only appeared when total records exceeded the page size. The button uses accessible `aria-label`, `title`, and Lucide `TableProperties` icon. Keyboard and screen reader accessible.
12
13
-**CRM Enterprise Lookup Metadata** (`examples/crm`): All 14 lookup fields across 8 CRM objects now have enterprise-grade RecordPicker configuration — `lookup_columns` (with type hints for cell rendering: select, currency, boolean, date, number, percent), `lookup_filters` (base business filters using eq/ne/in/notIn operators), and `description_field`. Uses post-create `Object.assign` injection pattern to bypass `ObjectSchema.create()` Zod stripping (analogous to the listViews passthrough approach).
13
14
-**Enterprise Lookup Tests** (`examples/crm`): 12 new test cases validating lookup_columns presence & type diversity, lookup_filters operator validity, description_field coverage, and specific business logic (e.g., active-only users, non-cancelled orders, open opportunities).
14
15
-**RecordPickerDialog Component** (`@object-ui/fields`): New enterprise-grade record selection dialog with multi-column table display, pagination, search, column sorting with `$orderby`, keyboard navigation (Arrow keys + Enter), loading/error/empty states, and single/multi-select support. Responsive layout with mobile-friendly width. Provides the foundation for Salesforce-style Lookup experience.
Copy file name to clipboardExpand all lines: content/docs/fields/lookup.mdx
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,11 +116,21 @@ The popup will:
116
116
2. Send `$search` queries with 300ms debounce as the user types
117
117
3. Show loading spinner, error state with retry, and empty state
118
118
4. Display "Showing X of Y" when more records exist than the page size
119
-
5. Show a **"Show All Results"** button to open the full Record Picker dialog
119
+
5. Show a **"Show All Results"** button (inside the popover) to open the full Record Picker dialog when total exceeds page size
120
+
121
+
## Browse All Button
122
+
123
+
Every Lookup field with a `dataSource` always renders a **"Browse All"** button (table icon) next to the quick-select trigger. This button opens the full **RecordPickerDialog** directly, regardless of dataset size — ensuring enterprise features like multi-column tables, sort/filter bar, and cell renderers are always discoverable.
124
+
125
+
- Always visible when `dataSource` is configured
126
+
- Opens the Record Picker dialog without needing to open the popover first
127
+
- Keyboard accessible and screen-reader friendly (`aria-label="Browse all records"`)
120
128
121
129
## Record Picker Dialog (Enterprise)
122
130
123
-
When more results are available than displayed in the quick-select popup, a **"Show All Results"** button opens the full **RecordPickerDialog** — an enterprise-grade record selection experience.
131
+
The full **RecordPickerDialog** can be opened in two ways:
132
+
1.**"Browse All" button** (table icon) — always visible next to the quick-select trigger
133
+
2.**"Show All Results"** link inside the popover — shown when total records exceed the page size
124
134
125
135
```plaintext
126
136
// Configure the Record Picker with lookup_columns
0 commit comments