Skip to content

Commit 5a05aa2

Browse files
committed
feat: Add v2.1.0 examples to demo app
1 parent 46c9ca3 commit 5a05aa2

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

demo/src/app/data/select-examples.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,28 @@ export const SELECT_EXAMPLES: Example[] = [
228228
placeholder: 'Try Ctrl+C and Ctrl+V...'
229229
}
230230
},
231+
{
232+
name: 'Drag & Drop Tags',
233+
description: 'Reorder selected tags with drag-and-drop (v2.1.0)',
234+
props: {
235+
isMulti: true,
236+
enableDragDrop: true,
237+
dragDropPlaceholder: 'Drop here',
238+
dragDropAnimation: 200,
239+
placeholder: 'Select and drag tags...'
240+
}
241+
},
242+
{
243+
name: 'Pin Favorite Options',
244+
description: 'Pin frequently used options to top (v2.1.0)',
245+
props: {
246+
enablePinning: true,
247+
maxPinnedOptions: 3,
248+
persistPinnedOptions: true,
249+
pinnedOptionsLabel: 'Favorites',
250+
placeholder: 'Select and pin options...'
251+
}
252+
},
231253
{
232254
name: 'Advanced Keyboard',
233255
description: 'Home/End, Type-ahead, Ctrl+A (v2.0.0)',

0 commit comments

Comments
 (0)