onSelectionLimitReached

Type: function

To be used with selectionLimit option. When defined, this function will override the default behavior (display the alert message) when the selection limit is reached. In this function, you can display your own UI to alert the user or add a custom behavior.