formUpdate not displaying new data
Open
- Dominant language
- JavaScript
- Stars
- 634
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am using formUpdate to update form fields from an **ajax** source. Although the update works and the data appears as value of the inputs the fields are displayed as empty(but validated).
Updating values here:
```
componentDidMount: function() {
var self = this;
self.serverRequest = $.get(self.state.source, function (result) {
order = JSON.parse(result)
var form = self.refs.bookingForm.getForm()
//updateData Test
form.updateData({second_name: 'testing',
first_name: 'first_name',})
}.bind(self));
},
```
Any ideas?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.