Skip to content

Commit

Permalink
add type property
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux committed Oct 22, 2024
1 parent d7e0e6f commit 4efda74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/fields/src/fields/slug/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import SlugView from './slug-view';

const slugField: Field< BasePost > = {
id: 'slug',
type: 'text',
label: __( 'Link' ),
getValue: ( { item } ) => item.slug,
Edit: SlugEdit,
Expand Down

0 comments on commit 4efda74

Please sign in to comment.