Skip to content

Commit

Permalink
Revert "fix: Input should start with undefined, same as textarea (#30534
Browse files Browse the repository at this point in the history
)"

This reverts commit 90b66ca.
  • Loading branch information
ling1726 committed Mar 21, 2024
1 parent be0924a commit 28c6c5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const useInput_unstable = (props: InputProps, ref: React.Ref<HTMLInputEle
const [value, setValue] = useControllableState({
state: props.value,
defaultState: props.defaultValue,
initialState: undefined,
initialState: '',
});

const nativeProps = getPartitionedNativeProps({
Expand Down

0 comments on commit 28c6c5f

Please sign in to comment.