You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One option is to unlist the IDs when matching on their value. Alternatively, we could consider whether the ordering of the if/else logic within setCallbackContext is ultimately what we want.
Whatever solution we identify, we should ensure that a heterogeneous mix of IDs that are lists and vectors (i.e. using selectors or not) is allowed when describing callbacks so that this error does not occur.
The text was updated successfully, but these errors were encountered:
In translating a Python demo app for pattern-matching callbacks with the following signature
I encountered the error:
I was able to trace this error to
setCallbackContext
, and the following statement:dashR/R/utils.R
Line 1065 in add8dd3
I suspect that the issue is that we convert the IDs to JSON-like syntax later in the function, and so the length of the IDs is not uniformly
1
:One option is to unlist the IDs when matching on their value. Alternatively, we could consider whether the ordering of the if/else logic within
setCallbackContext
is ultimately what we want.Whatever solution we identify, we should ensure that a heterogeneous mix of IDs that are lists and vectors (i.e. using selectors or not) is allowed when describing callbacks so that this error does not occur.
The text was updated successfully, but these errors were encountered: