Register back button event problem


#1

Hi guys, i’m trying to intercept the hardware back button event, what i want to do is when i press back, if there any data inside of form, i show to user a confirm dialog, but according the documentation when i use registerBackButton i’m override all default method, and i’m with problem when i press backbutton when the select/datatime are focused.
the question is, is there any way to intercept the backbutton device and stop flow, without override all default method?
i tried de cordova backbutton event but its only intercept and not stopping the backbutton event