Skip to content

Commit

Permalink
fix: change work_time prop to list when changed, close#69
Browse files Browse the repository at this point in the history
  • Loading branch information
nooop3 committed Oct 11, 2022
1 parent aad0337 commit c22400c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/FormCreator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export const FormCreator: React.FC<Props> = props => {
if ('edu_time' in values) {
values.edu_time = values.edu_time.split(',');
}
if ('work_time' in values) {
values.work_time = values.work_time.split(',');
}
props.onChange(values);
};
const formProps = {
Expand Down

0 comments on commit c22400c

Please sign in to comment.