How to open a new message with a sample or default text

Actually i want to create a function i have a ion-card when user click on ion-card open message section with a default text.

121212

I want to open message box with this text CHQREQ <No. of leaves <A/c no>
how can i do that?
Please help me anyone
Thanks

Learn basic html + javascript after that retun to learn ionic

2 Likes

wow :laughing:Thank you so much @avishai_peretz_dev for your valuable advice

Hello,

Maybe an ionic alert is what you looking for. https://ionicframework.com/docs/components/#alert-prompt

If you want to show the text in an input then look to input placeholder.

Best regards, anna-liebt

sorry but @avishai_peretz_dev is right. way to many people here trying to develope better stuff than google but never saw the first page of an html tutorial. but at least your question is one of the less dumb

1 Like