# Sweet Alert で複数行テキストを入力できるようにしたい

**URL:** <https://community.cybozu.dev/t/topic/2486>\
**Category:** kintone 開発相談\
**Created:** [2016 年 6 月 30 日午前 2:24 UTC](https://community.cybozu.dev/t/topic/2486 "2016-06-30T02:24:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Legacy\_Account344](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@Legacy\_Account344](https://community.cybozu.dev/u/Legacy_Account344)\
**Post date:** [2016 年 6 月 30 日午前 2:24 UTC](https://community.cybozu.dev/t/topic/2486/1 "2016-06-30T02:24:52Z")

</div>

タイトルの通りの要望です。

Sweet Alertで、type='input’とすると、１行入力フォームが表示されるようになると思いますが、

複数行入力が可能なフォームを表示することはできますでしょうか。

---

<div class="post-metadata">

**Author:** ![Legacy\_Account1574](https://avatars.discourse-cdn.com/v4/letter/l/76d3ee/32.png) [@Legacy\_Account1574](https://community.cybozu.dev/u/Legacy_Account1574)\
**Post date:** [2016 年 6 月 30 日午前 2:43 UTC](https://community.cybozu.dev/t/topic/2486/2 "2016-06-30T02:43:20Z")

</div>

Yuya Tamurasnさん

&nbsp;

これはSweetAlertというライブラリの仕様に依存しますよね。現在[Cybozu CDNでホストされているSweetAlert](https://community.cybozu.dev/hc/ja/articles/202960194)&nbsp;は、textarea的なものはなかったと思います。

&nbsp;

ただ、最近SweetAlert2というものが出たようで、こちらにはありそうですので、チェックされてみてはいかがでしょうか。

[https://limonte.github.io/sweetalert2/](https://limonte.github.io/sweetalert2/)

---

<div class="post-metadata">

**Author:** ![Legacy\_Account344](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@Legacy\_Account344](https://community.cybozu.dev/u/Legacy_Account344)\
**Post date:** [2016 年 6 月 30 日午前 5:49 UTC](https://community.cybozu.dev/t/topic/2486/3 "2016-06-30T05:49:54Z")

</div>

Ryu Yamashita 様

早速のお返事ありがとうございました。

ご教授いただきました、Sweet Alert 2 で、思い通りの仕様を実装できました。

迅速かつ的確なご対応をありがとうございました！
