Set input to accepting xml files only
This commit is contained in:
parent
104abd6ee3
commit
014a03e55f
@ -19,4 +19,9 @@
|
||||
<button nbButton status="primary" (click)="openFileDialog($event)">
|
||||
Wybierz plik
|
||||
</button>
|
||||
<input id="input-for-file" type="file" (change)="fetchAndEmitFile($event)" />
|
||||
<input
|
||||
id="input-for-file"
|
||||
type="file"
|
||||
(change)="fetchAndEmitFile($event)"
|
||||
accept=".xml"
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user