From 7c5d3cfbed4f2a6ab54f9af6956440ae156b8af7 Mon Sep 17 00:00:00 2001 From: Ugo Stephant Date: Tue, 4 Dec 2018 11:54:33 +0100 Subject: [PATCH] fix: fix text field --- src/components/TextField.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/TextField.js b/src/components/TextField.js index 99296e719..03d0b80da 100644 --- a/src/components/TextField.js +++ b/src/components/TextField.js @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { injectStyles } from '../utils'; +import { injectStyles, omit } from '../utils'; import styles from '../theme/components/TextField.styl'; class TextField extends React.Component { @@ -197,7 +197,9 @@ class TextField extends React.Component { )} this.input = ref} className="field" type={this.getType()}