Skip to content

Commit 6f15e45

Browse files
committed
Don't treat input as multiline when passing expandable
1 parent 2f378e7 commit 6f15e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/inputs/TextField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ export default class TextField extends BaseInput {
559559
const {lineHeight, ...typographyStyle} = typography;
560560
const textColor = this.getStateColor(color || this.extractColorValue());
561561
const hasRightElement = this.shouldDisplayRightButton() || rightIconSource;
562-
const shouldUseMultiline = multiline || expandable;
562+
const shouldUseMultiline = multiline/* || expandable */;
563563

564564
const inputStyle = [
565565
hasRightElement && this.styles.rightElement,

0 commit comments

Comments
 (0)