textInput textChanged event


there is no textChanged event or onChange or something like this for textField?


const TField = require("tns-core-modules/ui/text-field");

//load event
    console.log("addressField loaded");
    args.object.addEventListener(TField.TextField.textChangeEvent, textChanged, this);

let textChanged=()=>{
    console.log("text changed");

what i’m I doing wrong ? its not working.


I don’t think we have a textChangeEvent constant exported, it’s a property change event and none of the property change events has named exports. Try using “textChange” instead.


I tried it too, but not working


If you can prepare a playground, I may take a look.