$ionicPopup - Not Working With Input Type Number


#1

I’m not sure if this is a bug, or if I am missing something. When using a $ionicPopup prompt with a number input, the result seems to always be undefined. Any ideas?

EDIT: For reference, I was able to see the change on the $scope.data.aNumber (see CodePen) due to the databinding and was able to fix my problem. It still doesn’t make sense as if the input type is password, and the scope is set to $scope, you still get a result back in the callback function.

See the Pen Popup: 1.0.0-beta.6 by Josh (@jpmckearin) on CodePen.