# Block Development: Data List in Text Field

**URL:** <https://forums.concretecms.org/t/block-development-data-list-in-text-field/1719>\
**Category:** Developing with Concrete\
**Created:** [November 25, 2021, 1:02pm UTC](https://forums.concretecms.org/t/block-development-data-list-in-text-field/1719 "2021-11-25T13:02:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatcatsanonymous](https://forums.concretecms.org/user_avatar/forums.concretecms.org/fatcatsanonymous/32/4140_2.png) [@fatcatsanonymous](https://forums.concretecms.org/u/fatcatsanonymous)\
**Post date:** [November 25, 2021, 1:02pm UTC](https://forums.concretecms.org/t/block-development-data-list-in-text-field/1719/1 "2021-11-25T13:02:16Z")

</div>

Hi I have a select box in the form of a block I have developed.  
It outputs the value chosen, on the frontend.

I would like to change the select box to a text field with a data list so that a free text value can be entered as an alternative to the predefined values, by the editor implementing the block.  
Has anyone a suggestion or example of how I might do this?

Thanks,  
Una

---

<div class="post-metadata">

**Author:** ![JohntheFish](https://forums.concretecms.org/user_avatar/forums.concretecms.org/johnthefish/32/3767_2.png) [@JohntheFish](https://forums.concretecms.org/u/JohntheFish)\
**Post date:** [November 25, 2021, 3:03pm UTC](https://forums.concretecms.org/t/block-development-data-list-in-text-field/1719/2 "2021-11-25T15:03:53Z")

</div>

Have a look at the core select attribute. It has an option to enable a user extending the selection and hence turning a select into a combi input.  
The attribute code is likely way more complicated that you need. All you will need from it is the code for the input.

---

<div class="post-metadata">

**Author:** ![fatcatsanonymous](https://forums.concretecms.org/user_avatar/forums.concretecms.org/fatcatsanonymous/32/4140_2.png) [@fatcatsanonymous](https://forums.concretecms.org/u/fatcatsanonymous)\
**Post date:** [November 27, 2021, 11:11am UTC](https://forums.concretecms.org/t/block-development-data-list-in-text-field/1719/3 "2021-11-27T11:11:14Z")

</div>

Thanks for that tip John. Where do I find the core select attribute?

---

<div class="post-metadata">

**Author:** ![JohntheFish](https://forums.concretecms.org/user_avatar/forums.concretecms.org/johnthefish/32/3767_2.png) [@JohntheFish](https://forums.concretecms.org/u/JohntheFish)\
**Post date:** [November 27, 2021, 1:09pm UTC](https://forums.concretecms.org/t/block-development-data-list-in-text-field/1719/4 "2021-11-27T13:09:30Z")

</div>

On github at

> **[concrete5/concrete/attributes/select at develop · concrete5/concrete5](https://github.com/concrete5/concrete5/tree/develop/concrete/attributes/select)**
>
> develop/concrete/attributes/select

Equivalent in your install at /concrete/attributes/select

---

<div class="post-metadata">

**Author:** ![fatcatsanonymous](https://forums.concretecms.org/user_avatar/forums.concretecms.org/fatcatsanonymous/32/4140_2.png) [@fatcatsanonymous](https://forums.concretecms.org/u/fatcatsanonymous)\
**Post date:** [November 30, 2021, 11:53am UTC](https://forums.concretecms.org/t/block-development-data-list-in-text-field/1719/5 "2021-11-30T11:53:39Z")

</div>

Thats great, thank you for your help!
