@mariappan said in Dialog not working when i try to call every 6 second ?:
var dialog = taskInputDialog.createObject()
The Dialog needs a parent, or a reference that will last as long as the object.
https://doc.qt.io/qt-6/qml-qtqml-component.html#createObject-method
If a parent is not provided to createObject(), a reference to the returned object must be held so that it is not destroyed by the garbage collector.