This commit is contained in:
yauheni-formio 2026-03-13 04:54:58 +00:00 committed by GitHub
commit d4c5836ae4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1234,6 +1234,8 @@ class Choices {
this._store.withTxn(() => {
// Remove item associated with button
this._removeItem(itemToRemove);
const passedElementValueModified = this.passedElement.value.split(",").filter(x=> x !== itemToRemove.value)
this.passedElement.value = passedElementValueModified.join(",")
this._triggerChange(itemToRemove.value);
if (this._isSelectOneElement && !this._hasNonChoicePlaceholder) {