How to to get data in alertController for updation?

In ionic how to get data in AlertController so that we can easily edit it rather to make a new page i want to update data through alert controller.


hmm what is wrong with examples from doc? Do not they work for you?

Best regards, anna-liebt

no, they didn’t work for me , actually i m doing update data through alert controller , so when i click on record for updation it wil show data that record data on text field which i click on, so that i can easily update it.

I do not really understand where your problem is. Maybe it would help to show some code and explain, what it do and what it should do.

Best regards, anna-liebt

can you give me a link or an example for update a rest api data in ionic.