Ionic: Showing an alert controller with a checkbox and text input

后端 未结 2 1077
醉梦人生
醉梦人生 2020-12-18 03:06

I am trying to show a checkbox along with a text input field. (Ionic 3.5.3)

The checkbox is not showing up. I looked at another SO thread for a similar question. The

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-18 04:07

    Definitely the right thing to do is to create a modal. But I use a workaround, by nesting alerts. I explained and have a working demo in my answer here

提交回复
热议问题