Update Dropdown Default Example
This commit is contained in:
1 parent
f71dc03f67
commit
913bdea398
1 file changed
+2
-2
+2
-2
@@ -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>
|
||||||
|
|||||||
Reference in new issue
Block a user