Using the platform we must be able to achieve below requirements.
- Add a program
- Edit a program
I will be working on these requirements.
Using the platform we must be able to achieve below requirements.
I will be working on these requirements.
Thanks for the update @anjisvj! This is brilliant!
Iāve added some comments: https://github.com/sef-global/scholarx-frontend/pull/25#pullrequestreview-515280565
Feel free to contact me if you need some clarifications.
This is truly amazing, @anjisvj! Thanks for getting this done!
I found this peace From the Antdās form API page,
After wrapped by Form.Item
with name
property, value
(or other property defined by valuePropName
) onChange
(or other property defined by trigger
) props will be added to form controls, the flow of form data will be handled by Form which will cause:
onChange
on each form control to collect data (use onValuesChange
of Form), but you can still listen to onChange
.value
or defaultValue
prop, you should set default value with initialValues
of Form. Note that initialValues
cannot be updated by setState
dynamiclly, you should use setFieldsValue
in that situation.setState
manually, please use form.setFieldsValue
to change value programmatically.I added the changes. @jaye
Merged! Thanks @anjisvj!