From 69a437a1a8a542b9e535c7789bf0f305ab6fe43d Mon Sep 17 00:00:00 2001 From: John Paul Date: Mon, 20 Jun 2022 17:04:08 -0400 Subject: [PATCH] StatelessFIleInput: add `maxSize` and `showIcon` (#544) --- components/ui/SmartFileInput.vue | 24 +++++---------- components/ui/StatelessFileInput.vue | 35 +++++++++++++++++---- plugins/fileUtils.js | 27 ++++++++++++++++ plugins/shorthands.js | 46 +++++++++++++++------------- 4 files changed, 89 insertions(+), 43 deletions(-) create mode 100644 plugins/fileUtils.js diff --git a/components/ui/SmartFileInput.vue b/components/ui/SmartFileInput.vue index 7a1805013..f249b2fb5 100644 --- a/components/ui/SmartFileInput.vue +++ b/components/ui/SmartFileInput.vue @@ -16,6 +16,7 @@