feat: add search input type with icon support and update styles
This commit is contained in:
@@ -32,6 +32,12 @@
|
||||
[attr.accept]="type() === 'file' ? accept() : null"
|
||||
/>
|
||||
|
||||
@if (type() === 'search') {
|
||||
<span class="input-search-icon" aria-hidden="true">
|
||||
<i class="fa-solid fa-magnifying-glass"></i>
|
||||
</span>
|
||||
}
|
||||
|
||||
@if (type() === 'file') {
|
||||
<span class="input-file-name" [class.input-file-name-empty]="!resolvedFileName()">
|
||||
{{ resolvedFileName() || 'Sin archivo...' }}
|
||||
|
||||
Reference in New Issue
Block a user