Update Dropdown Default Example

This commit is contained in:
copecone committed 2026-03-17 21:28:08 +09:00
1 parent f71dc03f67
commit 913bdea398
1 file changed
+2 -2
+2 -2
View File
@@ -13,11 +13,11 @@
<h2>Dropdown Component</h2> <h2>Dropdown Component</h2>
<div style="display: flex; flex-direction: column; gap: 40px; align-items: flex-start;"> <div style="display: flex; flex-direction: column; gap: 40px; align-items: flex-start;">
<div> <div>
<h3>Object Options (with defaultIndex="1")</h3> <h3>Object Options</h3>
<dropdown <dropdown
[options]="dropdownOptions" [options]="dropdownOptions"
[(value)]="selectedDropdownValue" [(value)]="selectedDropdownValue"
[defaultIndex]="1" [defaultIndex]="0"
(selectionChange)="handleDropdownChange($event)" (selectionChange)="handleDropdownChange($event)"
icon="language"> icon="language">
</dropdown> </dropdown>