parent
603dcec087
commit
dc8306bea9
|
@ -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}
|
||||
|
|
|
@ -136,6 +136,7 @@ export default {
|
|||
'lazy',
|
||||
'size',
|
||||
'inputType',
|
||||
'className',
|
||||
]);
|
||||
const { stateValue, handleKeyDown, handleChange, size, disabled } = this;
|
||||
const inputProps = {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -32,4 +32,5 @@ export default {
|
|||
},
|
||||
maxLength: PropTypes.number,
|
||||
loading: PropTypes.bool,
|
||||
className: PropTypes.string,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue