Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/page-form-icon-picker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@objectstack/spec": patch
---

ui(page.form): icon field uses the searchable icon-picker widget

The Basics → `icon` field now carries `widget: 'icon'`, so the metadata-admin
form renders a searchable Lucide icon picker (preview + name) instead of a raw
text input where authors had to type an exact icon name. Mirrors the existing
`view-ref` / `filter-mode` widget hints; the picker ships in
`@object-ui/app-shell` and is reusable for app/object icon fields.
2 changes: 1 addition & 1 deletion packages/spec/src/ui/page.form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const pageForm = defineForm({
fields: [
{ field: 'name', required: true, colSpan: 1, helpText: 'Unique identifier (snake_case)' },
{ field: 'label', required: true, colSpan: 1, helpText: 'Page title shown to users' },
{ field: 'icon', colSpan: 1, helpText: 'Icon for navigation menu' },
{ field: 'icon', widget: 'icon', colSpan: 1, helpText: 'Icon for navigation menu' },
{
field: 'type',
colSpan: 1,
Expand Down