Skip to content

Commit

Permalink
Fix deserializing stepper input
Browse files Browse the repository at this point in the history
  • Loading branch information
alebedev committed Jul 17, 2023
1 parent f120502 commit 498d91a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ const calculateSectionState = (section: FormSection): FormSection => {
export const deserializeField = (field: InputField, formData: FormData) => {
switch (field.type) {
case 'number':
case 'stepper':
return parseNumber(field, formData)

case 'pet-dog-breeds':
Expand Down

0 comments on commit 498d91a

Please sign in to comment.