I have already started a Feature request issue, but I figured I should post in the forum in case someone else here has a better idea:
- I wanted to use an ionicPopup.prompt() to edit a text value, but couldn’t find a way to pre-populate the input text value. So, I requested an inputText option:
I also created the following codepens to illustrate the problem.
First attempt to workaround takes advantage that
data.response is ng-model for input text value in default template:
Final workaround has to redefine buttons (and knowledge that default template uses
I think having an
inputText option would be a valuable addition to the design.