<p>The button is still there and enabled but if you try to add a second category, you'll find that it just replaces the initial one.</p>

CC BY-SA 4.0
2020-05-04T13:51:51.027Z
Unfortunately, when I select second category, it doesn't replace the initial one. I think the "Add a category" should disable if limit is exceeded.
Buli
CC BY-SA 4.0
2020-04-30T11:35:59.097Z
2020-04-30T11:35:59.097Z
Oli
<p>I set the <strong>Branch Limit</strong> for a <strong>Category Field Type</strong> to 1, but after adding one category, the <strong>Add a Category</strong> button is still active. </p>

<p>Shouldn't it be disabled after reaching the limit?</p>

<p>Thanks!</p>

<p><a href="https://i.sstatic.net/GdREa.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/GdREa.png" alt="enter image description here"></a></p>

<field><category><limit>
Categories field limit doesn't disable Add a Category button
# Categories field limit doesn't disable Add a Category button

(Asked by: username_0 on 2020-04-30)

I set the **Branch Limit** for a **Category Field Type** to 1, but after adding one category, the **Add a Category** button is still active.

Shouldn't it be disabled after reaching the limit?

Thanks!

[![enter image description here](https://i.sstatic.net/GdREa.png)](https://i.sstatic.net/GdREa.png)

**Tags:** field, category, limit


---

## 1 answers

### Answer by username_1 on 2020-04-30. Score: 1

The button is still there and enabled but if you try to add a second category, you'll find that it just replaces the initial one.

> **Comments:**
> **username_0**: Unfortunately, when I select second category, it doesn't replace the initial one. I think the "Add a category" should disable if limit is exceeded.  

---

