# Editable List: How to limit editable list widget

**URL:** <https://discourse.nodered.org/t/editable-list-how-to-limit-editable-list-widget/65571>\
**Category:** Developing Nodes\
**Created:** [25 July 2022 10:14 UTC](https://discourse.nodered.org/t/editable-list-how-to-limit-editable-list-widget/65571 "2022-07-25T10:14:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![namph-sgn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/namph-sgn/32/54561_2.png) [@namph-sgn](https://discourse.nodered.org/u/namph-sgn)\
**Post date:** [25 July 2022 10:14 UTC](https://discourse.nodered.org/t/editable-list-how-to-limit-editable-list-widget/65571/1 "2022-07-25T10:14:35Z")

</div>

Hi all, is there any way to limit the amount of items users can create in the list? I'm currently creating a nodes with editable list and I want to limit the items in the list to only 3.  
I have checked the document: [Editable list](https://nodered.org/docs/api/ui/editableList/#methods-length) but can't find the limit method.  
I'm currently using node-red 3.0.1.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 July 2022 11:10 UTC](https://discourse.nodered.org/t/editable-list-how-to-limit-editable-list-widget/65571/2 "2022-07-25T11:10:01Z")

</div>

Hi @namph-sgn - no, there is not built-in way to limit the number of items - not a feature we've had a need for.

You could probably achieve it by enabling/disabling the add button yourself.. depends how you are using the list.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 September 2022 11:10 UTC](https://discourse.nodered.org/t/editable-list-how-to-limit-editable-list-widget/65571/3 "2022-09-23T11:10:13Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
