Skip to content

Commit 6e97e98

Browse files
committed
dynamic board selection
1 parent b041e61 commit 6e97e98

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

apps/sim/blocks/blocks/pinterest.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ export const PinterestBlock: BlockConfig<PinterestResponse> = {
2525
},
2626
{
2727
id: 'board_id',
28-
title: 'Board ID',
29-
type: 'short-input',
30-
placeholder: 'Enter board ID (e.g., 1234567890)',
28+
title: 'Board',
29+
type: 'file-selector',
30+
canonicalParamId: 'board_id',
31+
serviceId: 'pinterest',
32+
placeholder: 'Select a Pinterest board',
33+
dependsOn: ['credential'],
3134
required: true,
3235
},
3336
{

0 commit comments

Comments
 (0)