# Set input type dynamically

**URL:** <https://community.weweb.io/t/set-input-type-dynamically/9921>\
**Category:** How do I?\
**Created:** [July 25, 2024, 1:57am UTC](https://community.weweb.io/t/set-input-type-dynamically/9921 "2024-07-25T01:57:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mauromequelussi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/mauromequelussi/32/10223_2.png) [@mauromequelussi](https://community.weweb.io/u/mauromequelussi)\
**Post date:** [July 25, 2024, 6:30am UTC](https://community.weweb.io/t/set-input-type-dynamically/9921/6 "2024-07-25T06:30:12Z")

</div>

I just want to set the type if it is number, answer, email, decimal. This is not possible dynamically so far.

I believe it is not a good option to put them all inside the component and render conditionally. If there was a dynamic option in the type like there are in other options, it would solve the problem.

---

_[View the full topic](https://community.weweb.io/t/set-input-type-dynamically/9921)._
