Input reference selector: Limit number of objects that can be selected
Hi all I was wondering if there is an easy way to limit the amount of objects that can be selected in a input reference selector. We now have a many to many relation where we need to select multiple objects, but it cannot be more then a specific number. Is there some possibility to do an on click check and if the amount has been reached that the object will be deselected automatically? Kind regards Kevin
i noticed there was no answer for you yet.
I would use an on change action to check the amount of reference in total and if the maximum has been reached undo the last change (the on change probably has the object set in the reference) and give a validation message.