diff --git a/src/Form/Input.js b/src/Form/Input.js index 2ee8708..b15d493 100644 --- a/src/Form/Input.js +++ b/src/Form/Input.js @@ -357,7 +357,7 @@ export class Input extends Component { const { focused, height, value } = this.state; - const isFloating = (floating && value !== undefined && !!`${value}`.trim()) || (floating && focused); + const isFloating = (floating && value != null && !!`${value}`.trim()) || (floating && focused); const inputProps = { ...rest,