How to get dynamic standards and sections in react
In front end
1 . Import Standard and Sections from Actions.
2. Get the Props Data in ComponentwillMount.
3. In render function define this in const in this.props
4. Add this dynamic in from-group
5. Add this in function mapState
6. Add this in Action Creators
7. Import Axios
8. Give conditions of axios in handleChange
In backend
1. we should notice that id of one should go in another in the schema table.
2. we should notice that models of both should be connected with associations.
3. we should know that in params that id should be given.
Comments
Post a Comment