fix: do not set default version
This commit is contained in:
@@ -63,10 +63,13 @@ const SealInput: React.FC<InputProps & SealFormItemProps> = (props) => {
|
||||
};
|
||||
|
||||
const handleOnBlur = (e: any) => {
|
||||
e.target.value = e.target.value?.trim?.();
|
||||
if (!inputRef.current?.input?.value) {
|
||||
setIsFocus(false);
|
||||
}
|
||||
if (!trim) {
|
||||
e.target.value = e.target.value?.trimRight?.();
|
||||
props.onChange?.(e);
|
||||
}
|
||||
props.onBlur?.(e);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user