Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TextField] style of multiline textfield #1564

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/src/app/components/pages/components/text-fields.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ let TextFieldsPage = React.createClass({
header: 'optional',
desc: 'Override the inline-styles of the TextField\'s underline element when focussed.'
},
{
name: 'inputStyle',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed by #1980

type: 'object',
header: 'optional',
desc: 'Override the inline-styles of the TextField\'s input (textarea) element.'
},
{
name: 'type',
type: 'string',
Expand Down
2 changes: 1 addition & 1 deletion src/text-field.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ let TextField = React.createClass({
{...inputProps}
rows={rows}
onHeightChange={this._handleTextAreaHeightChange}
textareaStyle={this.mergeAndPrefix(styles.textarea)} />
textareaStyle={this.mergeAndPrefix(styles.textarea, this.props.inputStyle)} />
) : (
<input
{...other}
Expand Down