Skip to content
Merged
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
1 change: 1 addition & 0 deletions components/input/ClearableLabeledInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const ClearableLabeledInput = {
[`${prefixCls}-affix-wrapper-input-with-clear-btn`]:
props.suffix && props.allowClear && this.$props.value,
});

return (
<span class={affixWrapperCls} style={props.style}>
{prefix}
Expand Down
1 change: 1 addition & 0 deletions components/input/Input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export default {
'lazy',
'size',
'inputType',
'className',
]);
const { stateValue, handleKeyDown, handleChange, size, disabled } = this;
const inputProps = {
Expand Down
2 changes: 1 addition & 1 deletion components/input/Search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ export default {
prefix: getComponentFromProp(this, 'prefix'),
addonAfter: this.renderAddonAfter(prefixCls),
addonBefore,
className: inputClassName,
},
attrs: this.$attrs,
class: inputClassName,
ref: 'input',
on: {
pressEnter: this.onSearch,
Expand Down
1 change: 1 addition & 0 deletions components/input/inputProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ export default {
},
maxLength: PropTypes.number,
loading: PropTypes.bool,
className: PropTypes.string,
};