From 8b3df1d098683cf1700334ccc3b76904ae8f9032 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Fri, 23 Jul 2021 10:30:29 +0300 Subject: [PATCH] Removing some props from passing to Signed-off-by: Alex Andreev --- src/renderer/components/input/input.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/components/input/input.tsx b/src/renderer/components/input/input.tsx index 91b58c24b5..062d61f2c6 100644 --- a/src/renderer/components/input/input.tsx +++ b/src/renderer/components/input/input.tsx @@ -328,6 +328,8 @@ export class Input extends React.Component { multiLine, showValidationLine, validators, theme, maxRows, children, showErrorsAsTooltip, maxLength, rows, disabled, autoSelectOnFocus, iconLeft, iconRight, contentRight, id, dirty: _dirty, // excluded from passing to input-element + defaultValue, + trim, ...inputProps } = this.props; const { focused, dirty, valid, validating, errors } = this.state;