خرید بک لینک

Vote count: 0

i have a dynamic form in react js which gives me a output like the following -

[screen 1][1]
[screen 2][1]

I can read the keys array in such maer -

console.log('Recived values:', values.keys);

But i want to iterate the values, Can someone help me in iterating the values?

The code snippet is here :

hadleSubmit = (e) => {
    e.preventDefault();
    this.props.form.validateFields((err, values) => {
        if(!err){
            var lis = values.keys;
            this.setState({
                controlKey: lis
            });
            lis.forEach(function(value){
                /* need help to iterate here*/
            })
            console.log('Recived values:', values.keys);
        }
    })
}
asked 38 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 1 ارديبهشت 1396 ساعت: 13:39

صفحه بندی