mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
pass getLabel as child context
This commit is contained in:
parent
198d912be7
commit
c8ae445720
1 changed files with 2 additions and 0 deletions
|
@ -448,6 +448,7 @@ class Form extends Component {
|
|||
addToDeletedValues: this.addToDeletedValues,
|
||||
updateCurrentValues: this.updateCurrentValues,
|
||||
getDocument: this.getDocument,
|
||||
getLabel: this.getLabel,
|
||||
initialDocument: this.state.initialDocument,
|
||||
setFormState: this.setFormState,
|
||||
addToSubmitForm: this.addToSubmitForm,
|
||||
|
@ -888,6 +889,7 @@ Form.childContextTypes = {
|
|||
isChanged: PropTypes.func,
|
||||
initialDocument: PropTypes.object,
|
||||
getDocument: PropTypes.func,
|
||||
getLabel: PropTypes.func,
|
||||
submitForm: PropTypes.func,
|
||||
errors: PropTypes.array,
|
||||
currentValues: PropTypes.object,
|
||||
|
|
Loading…
Add table
Reference in a new issue