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 | 40 +++++++++++++++------------- 4 files changed, 86 insertions(+), 40 deletions(-) create mode 100644 plugins/fileUtils.js diff --git a/components/ui/SmartFileInput.vue b/components/ui/SmartFileInput.vue index 7a18050138..f249b2fb5d 100644 --- a/components/ui/SmartFileInput.vue +++ b/components/ui/SmartFileInput.vue @@ -16,6 +16,7 @@