mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Removing some props from passing to <input/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
da53aa0d79
commit
8b3df1d098
@ -328,6 +328,8 @@ export class Input extends React.Component<InputProps, State> {
|
|||||||
multiLine, showValidationLine, validators, theme, maxRows, children, showErrorsAsTooltip,
|
multiLine, showValidationLine, validators, theme, maxRows, children, showErrorsAsTooltip,
|
||||||
maxLength, rows, disabled, autoSelectOnFocus, iconLeft, iconRight, contentRight, id,
|
maxLength, rows, disabled, autoSelectOnFocus, iconLeft, iconRight, contentRight, id,
|
||||||
dirty: _dirty, // excluded from passing to input-element
|
dirty: _dirty, // excluded from passing to input-element
|
||||||
|
defaultValue,
|
||||||
|
trim,
|
||||||
...inputProps
|
...inputProps
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const { focused, dirty, valid, validating, errors } = this.state;
|
const { focused, dirty, valid, validating, errors } = this.state;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user