tcomb-form-native
tcomb-form-native copied to clipboard
Updating the options
I am getting the following error while updating the options in in Change method. Please help me to resolve this. please.
TypeError: undefined is not an object (evaluating 'value[k]')
@gauravg924
At first glance this appears to be a bug in your javascript. You might need to provide more information to enable someone to help you with this. It might make more sense to post your question at stack overflow. If you console log your value variable, you will likely see that it is undefined. You probably need to add a check to make sure it is defined...
if ('undefined' !== typeof value[k]) {
// do something.
}