Skip to content

Commit

Permalink
🐛 fix: input onchange
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Jul 24, 2023
1 parent db6ec57 commit ca56413
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FieldSelect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ const FieldSelect: React.FC<FieldSelectProps> = (props) => {

const { styles } = useStyle(prefixCls);

const onNameChange = (event: React.ChangeEvent<HTMLInputElement>) => {
setName(event.target.value);
const onNameChange = (value) => {
setName(value);
};

const onSelectChange = (selectedValue: string) => {
Expand Down

0 comments on commit ca56413

Please sign in to comment.