Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
done

done

You should change the type to button and rename the onSubmit method

You should change the type to button and rename the onSubmit method

removed form along with adapter

removed form along with adapter

done

done

done

done

done

done

when you will have all the remaining properties in the props variable you can pass all of them to the component like that <select {...props}>

when you will have all the remaining properties in the props variable you can pass all of them to the component like that

<select {...props}>
you can change the props to ({ options, ...props }) if you do it like that it will take the options from properties and save the remaining properties in the props variable

you can change the props to

({ options, ...props })

if you do it like that it will take the options from properties and save the remaining properties in the props variable

I think instead of adding an adapter you can add a separate component named SelectField and use form Field there

I think instead of adding an adapter you can add a separate component named SelectField and use form Field there

select don't need name and you also should remove the required property

select don't need name and you also should remove the required property

done, added adapter for use with react form

done, added adapter for use with react form

I'm not sure if we need a form here, it's just one select. I think you can have a select and disable the "Make ..." button until value is selected and then do the redirect on button click.

I'm not sure if we need a form here, it's just one select. I think you can have a select and disable the "Make ..." button until value is selected and then do the redirect on button click.

This component should be just the select, not the form Field with the select, because we might want to use the select outside of the form

This component should be just the select, not the form Field with the select, because we might want to use the select outside of the form

removed

removed

OLMIS-7379 Remove redundant dependencies from package.json

added

added

removed as not needed anymore

removed as not needed anymore

removed

removed

done

done

done

done

done

done

OLMIS-7379 Add react router

  1. … 8 more files in changeset.
you don't have to add component in the name of the file or the component, I think ProgramSelect should be fine

you don't have to add component in the name of the file or the component, I think ProgramSelect should be fine

Can you add a new component for the select, it can be useful in other places too.

Can you add a new component for the select, it can be useful in other places too.

Is this used to get the saved form values?

Is this used to get the saved form values?

I don't think this div is needed here

I don't think this div is needed here

I don't think we should add any classes here, add it in the main component (PhysicalInventoryApp)

I don't think we should add any classes here, add it in the main component (PhysicalInventoryApp)

add final-form here

add final-form here