# Bind value to Input element

**URL:** <https://community.weweb.io/t/bind-value-to-input-element/20908>\
**Category:** How do I?\
**Created:** [March 15, 2026, 3:50pm UTC](https://community.weweb.io/t/bind-value-to-input-element/20908 "2026-03-15T15:50:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zoran.Velinov](https://avatars.discourse-cdn.com/v4/letter/z/f1d935/32.png) [@Zoran.Velinov](https://community.weweb.io/u/Zoran.Velinov)\
**Post date:** [March 15, 2026, 3:50pm UTC](https://community.weweb.io/t/bind-value-to-input-element/20908/1 "2026-03-15T15:50:28Z")

</div>

Hello,

As i can see there is no way to bind variable to input element for text. There is for initial value, but there is nothing like Text or Value. Is there something that i am missing?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![Batik\_Okazov](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/batik_okazov/32/12688_2.png) [@Batik\_Okazov](https://community.weweb.io/u/Batik_Okazov)\
**Post date:** [March 16, 2026, 10:08am UTC](https://community.weweb.io/t/bind-value-to-input-element/20908/2 "2026-03-16T10:08:22Z")

</div>

Hi Zoran,

what exactly do you want to achieve?

---

<div class="post-metadata">

**Author:** ![Zoran.Velinov](https://avatars.discourse-cdn.com/v4/letter/z/f1d935/32.png) [@Zoran.Velinov](https://community.weweb.io/u/Zoran.Velinov)\
**Post date:** [March 16, 2026, 1:18pm UTC](https://community.weweb.io/t/bind-value-to-input-element/20908/3 "2026-03-16T13:18:55Z")

</div>

Hello Batik,

I want this:

Input fileds which number will depend of items in array, which i have already done:

 ![{E18CF3F5-A4E0-41D7-98D0-C220793569A2}](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/f/f40dc34adb34cac1db5fafafee1cbc5c47f109f9.png)

Now i want every input field to have value from Array.value, but input element dont have option to bind to value. Thats all

---

<div class="post-metadata">

**Author:** ![Batik\_Okazov](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/batik_okazov/32/12688_2.png) [@Batik\_Okazov](https://community.weweb.io/u/Batik_Okazov)\
**Post date:** [March 16, 2026, 3:43pm UTC](https://community.weweb.io/t/bind-value-to-input-element/20908/4 "2026-03-16T15:43:23Z")

</div>

tried to recreate your setup: [Array example](https://www.loom.com/share/096de90e992c44d39c8ca01ba913770c)

The element tree (horizontal repeating items, 1 level array):

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/79507b06c5a4a7d35af6c4a0812cb2d382706147.png)

The element tree (vertical repeating items, 2nd level array):

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/9d917fae4a71ebaa633219b19cff49d61b6c9c6b.png)

> **Example data**
>
> [{“id”:1,“children”:[{“id”:11,“value”:101},{“id”:12,“value”:102},{“id”:13,“value”:103}]},{“id”:2,“children”:[{“id”:21,“value”:201},{“id”:22,“value”:202},{“id”:23,“value”:203}]},{“id”:3,“children”:[{“id”:31,“value”:301},{“id”:32,“value”:302},{“id”:33,“value”:303}]}]

---

<div class="post-metadata">

**Author:** ![Zoran.Velinov](https://avatars.discourse-cdn.com/v4/letter/z/f1d935/32.png) [@Zoran.Velinov](https://community.weweb.io/u/Zoran.Velinov)\
**Post date:** [March 16, 2026, 10:00pm UTC](https://community.weweb.io/t/bind-value-to-input-element/20908/5 "2026-03-16T22:00:46Z")

</div>

Thanks. I will test your way. I have try before with initial value but it was changing values in all input fields. Probably i have doing something wrong.

Thanks again i will check it

---

<div class="post-metadata">

**Author:** ![Zoran.Velinov](https://avatars.discourse-cdn.com/v4/letter/z/f1d935/32.png) [@Zoran.Velinov](https://community.weweb.io/u/Zoran.Velinov)\
**Post date:** [March 17, 2026, 8:28pm UTC](https://community.weweb.io/t/bind-value-to-input-element/20908/6 "2026-03-17T20:28:33Z")

</div>

It was necessary to do it other way because other things was already working and if i changed i would need to do it from scratch. And because of my limited knowledge. However i solved it but if i need it next time it will definitely be you approach. Cleaner, simpler, faster.

Thank you very much
