Merge pull request #1189 from sayinserdar/fix-file-upload-demo-docs-typo

Fix typo on FileUpload example
pull/1281/head
Cagatay Civici 2021-05-18 12:44:15 +03:00 committed by GitHub
commit 6963002487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ myUploader(event) {
<h5>Empty Template</h5> <h5>Empty Template</h5>
<p>When there is no file selected, you may use the empty slot to display content.</p> <p>When there is no file selected, you may use the empty slot to display content.</p>
<pre v-code><code> <pre v-code><code>
&lt;FileUpload name="demo[]" url="./upload" /&gt; &lt;FileUpload name="demo[]" url="./upload"&gt;
&lt;template #empty&gt; &lt;template #empty&gt;
&lt;p&gt;Drag and drop files to here to upload.&lt;/p&gt; &lt;p&gt;Drag and drop files to here to upload.&lt;/p&gt;
&lt;/template&gt; &lt;/template&gt;
@ -409,7 +409,7 @@ export default {
toast.add({severity: 'info', summary: 'Success', detail: 'File Uploaded', life: 3000}); toast.add({severity: 'info', summary: 'Success', detail: 'File Uploaded', life: 3000});
} }
return { onUpload }; return { onUpload };
} }
} }
<\\/script> <\\/script>
@ -419,4 +419,4 @@ export default {
} }
} }
} }
</script> </script>