# リピーティンググループ内インプットの値を変更した際のCustomStateの変更方法

**URL:** <https://www.nocode-faq.com/t/topic/3869>\
**Category:** bubble\
**Created:** [2023 年 8 月 14 日午前 7:12 UTC](https://www.nocode-faq.com/t/topic/3869 "2023-08-14T07:12:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yunsu](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@yunsu](https://www.nocode-faq.com/u/yunsu)\
**Post date:** [2023 年 8 月 14 日午前 7:12 UTC](https://www.nocode-faq.com/t/topic/3869/1 "2023-08-14T07:12:27Z")

</div>

inputに入力した値をCustom statesに保存し、リピーティンググループに表示しています。

> **[Gyazo Screen Video](https://gyazo.com/eae0d35e58d2ae3caf594f4a84eca03c)**
>
> Gyazo is the easiest way to record screenshots & videos you can share instantly. Save time with async visual communication that's effortless and engaging.

 ![スクリーンショット 2023-08-14 16.01.23](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/3/3b7209d7e13e6bc967dbda90e490c71a10258fec.png)

**やりたい事**

リピーティンググループで表示されている各アイテムの値を変更した際に、保存されているCustom statesの値も同じく変更されるようにしたいです。

 ![スクリーンショット 2023-08-14 16.06.37](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/9/9cb8b8e2802ca5cd4de6a2753993cbb0fd730e3d.png)

 ![スクリーンショット 2023-08-14 16.04.32](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/6/6a6c612fd9521bd64f2aa2293915ea13adfa4b2b.png)

リピーティンググループ内のインプットの値を変更した際のWFを組めば良いのはもちろんわかっているのですが、下の画像のValueをどのようにすれば上手く該当の値のみが変更されるのかがわからず。。。

 ![スクリーンショット 2023-08-14 16.05.16](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/4/48e9eac2e458c9d03765198b848c25052715463e.png)

お力添えいただけますと幸いです。よろしくお願いいたします。

---

<div class="post-metadata">

**Author:** ![Turtle01](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Turtle01](https://www.nocode-faq.com/u/Turtle01)\
**Post date:** [2023 年 8 月 15 日午後 3:04 UTC](https://www.nocode-faq.com/t/topic/3869/2 "2023-08-15T15:04:46Z")

</div>

こんばんは  
Forum捜索してみたのですが、List型CustomeState上で特定の値を更新させるというのは難しいようです。

参考記事：

> **[Manipulate Custom State list of data](https://forum.bubble.io/t/manipulate-custom-state-list-of-data/272258)**
>
> Currently, I have a Repeating Group within the website which contains an Input Field. And on Updating the text in the input field the data will we added to the Custom State and its working perfectly fine. But when I want to update the specific...

> **[How to update values of text list custom state from values in a repeating group](https://forum.bubble.io/t/how-to-update-values-of-text-list-custom-state-from-values-in-a-repeating-group/188055/7)**
>
> Profile - NigelG - Bubble Forum Real use case is much more complex. There’s no such thing. I am struggling with the fact that I can very simply show the content of the text list custom state in the repeating group, but not at all the other way...

List型CustomeState上で特定の値を更新ができないという中で思いつく対応ですと、  
①text型のCustomeStateを別で用意し、「Find＆Replace」で値を変えたあとに、リストにしてCustomeStateに格納する  
②ワークフロー上で一度該当アイテムを削除し、インプットの値を追加する  
(①・②：[kameda-workspace | Bubble Editor](https://bubble.io/page?type=page&name=rg_input_value&id=testtest012&tab=tabs-2)  
パっと対応したのでバグありです。あくまでイメージと思っていただけますと)  
③DBに格納し、ワークフローで値を変える  
という対応ができるかなと思います。

NocodeCampのBubblerさん、他に良いやり方ご存知でしたら教えてください、、。

根本的な解決にならず大変恐縮ですが、どうぞよろしくお願いします

---

<div class="post-metadata">

**Author:** ![john03tgck01a](https://sea2.discourse-cdn.com/flex020/user_avatar/www.nocode-faq.com/john03tgck01a/32/4558_2.png) [@john03tgck01a](https://www.nocode-faq.com/u/john03tgck01a)\
**Post date:** [2023 年 8 月 15 日午後 10:21 UTC](https://www.nocode-faq.com/t/topic/3869/3 "2023-08-15T22:21:54Z")

</div>

CustomStateの値に対して更新するという処理が適応できないので、データベースを使用した方が良いと思いますが、使えない理由があるのでしょうか。

---

<div class="post-metadata">

**Author:** ![yunsu](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@yunsu](https://www.nocode-faq.com/u/yunsu)\
**Post date:** [2023 年 8 月 16 日午前 2:28 UTC](https://www.nocode-faq.com/t/topic/3869/4 "2023-08-16T02:28:27Z")

</div>

お二人共ありがとうございます！  
特に使えない理由はないので、もう一度考えてみようと思います。

---

<div class="post-metadata">

**Author:** ![yunsu](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@yunsu](https://www.nocode-faq.com/u/yunsu)\
**Post date:** [2023 年 8 月 16 日午前 2:29 UTC](https://www.nocode-faq.com/t/topic/3869/5 "2023-08-16T02:29:08Z")

</div>

Turtle01さんもご丁寧にありがとうございました！大変参考になりました…！
