So, FW7 uses the React approach that forces us to explicitly update component state by using $setState or $update methods.
Let’s assume I have a variable currentItemData[‘name’] in data of my page. I also have an input with value = currentItemData[‘name’] and <p>
tag with currentItemData[‘name’]. So I want <p>
tag content to change immediately when I print in input. VueJS with it’s two-way binding offers me such functionality out of the box.
Can I achieve this in core FW7 (v5)? Of course I can write I function which calls $setState/$update on every key press in input, but maybe there is a simpler way? Thank you.