Problems with the maxItem() of the Multiple Select Component

Hey guys, could someone help me with this? My component, patrimonies, is acting up. When I click save on the form, the minItem() works as expected, showing a message that I need to insert the specified quantity, and it doesn't allow me to proceed if I don't. However, when I try to select another item, the select says I can only add 1 item.
No description
2 Replies
awcodes
awcodes2mo ago
It’s because you have a maxItems set to the same value of 1 So, basically you’re saying that it can only have 1 item despite setting it to multiple.
Mauricio G
Mauricio G2mo ago
yes, but when I change the quantity, it keeps crashing, the live() method of the quantity input doesn't seem to change this attribute.
Want results from more Discord servers?
Add your server