jerosoler / Drawflow

Simple flow library 🖥️🖱️

Home Page:https://jerosoler.github.io/Drawflow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dynamic value added in input field is not avalible in export

rupesh-terase opened this issue · comments

Hi,
I Am using drawflow in jquery and have added nodes with input elements in it ,
when i update field value from $("#input").val() function value is empty for that df-bind element in export data
but when i enter value manually with keyboard its available in export data for same input field
I tried to add change(), input() keypress() trigger('input') etc. events still not working

Please help

resolved using this

newData = {'param_val':valSelected,'param_name':paramSelected};
editor.updateNodeDataFromId(selectedNodeId, newData);

but it should update value in bind with df-param_val by itself when we add value using .val() or value="xyz"