Skip to content

Commit

Permalink
Merge pull request #117 from react-component/feat-dynamic-field-binding
Browse files Browse the repository at this point in the history
Fix dynamic render of fields with same name
  • Loading branch information
afc163 authored Nov 22, 2017
2 parents 08d3c15 + dd0a9fb commit 50673f9
Show file tree
Hide file tree
Showing 18 changed files with 414 additions and 481 deletions.
4 changes: 2 additions & 2 deletions examples/across-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
import { createForm } from 'rc-form';
import { Router, Route } from 'react-router';
import { Router, Route, hashHistory } from 'react-router';
import { regionStyle } from './styles';

class ChildForm extends React.Component {
Expand Down Expand Up @@ -107,7 +107,7 @@ ReactDOM.render((<div
position: 'relative',
}}
>
<Router>
<Router history={hashHistory}>
<Route path="/" component={ParentForm}>
<Route path="/open" component={ChildForm}/>
</Route>
Expand Down
Empty file removed examples/data-binding-form.html
Empty file.
127 changes: 0 additions & 127 deletions examples/data-binding-form.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/data-binding.html

This file was deleted.

121 changes: 0 additions & 121 deletions examples/data-binding.js

This file was deleted.

1 change: 1 addition & 0 deletions examples/dynamic-fields.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
placeholder
Loading

0 comments on commit 50673f9

Please sign in to comment.