Cleanup Dropdown UI

This commit is contained in:
copecone committed 2026-03-13 12:08:12 +09:00
1 parent cd595cb062
commit 167dd7bb99
6 files changed
+103 -61

No files matched your search

+22 -7
View File
@@ -9,13 +9,28 @@
<section>
<h2>Dropdown Component</h2>
<dropdown
[options]="dropdownOptions"
[(selectedValue)]="selectedDropdownValue"
(change)="handleDropdownChange($event)"
icon="language">
</dropdown>
<p>Selected Value: {{ selectedDropdownValue() }}</p>
<div style="display: flex; flex-direction: column; gap: 40px; align-items: flex-start;">
<div>
<h3>Object Options</h3>
<dropdown
[options]="dropdownOptions"
[(value)]="selectedDropdownValue"
(selectionChange)="handleDropdownChange($event)"
icon="language">
</dropdown>
<p>Selected Value: {{ selectedDropdownValue() }}</p>
</div>
<div>
<h3>String Options (Simple)</h3>
<dropdown
[options]="['Small', 'Medium', 'Large']"
[(value)]="selectedSize"
placeholder="Choose Size">
</dropdown>
<p>Selected Size: {{ selectedSize() }}</p>
</div>
</div>
</section>
</div>