Trying to use selectInput and other widgets inside form. Using vapply for validation on this form.Getting following error.

Warning in if (multiple) selectTag$attribs$multiple <- "multiple" :
the condition has length > 1 and only the first element will be used
Warning: Error in if: argument is not interpretable as logical

Because you've provided one line, I can only tell you what the error message says. First, multiple has length longer than one, and if expects values with length one. When the argument is longer than length one, if does proceeds to run normally but uses only the first element in the vector, and tries to interpret the argument as a logical (TRUE or FALSE). It is also saying that it's failed to do that.

What is multiple?

If you would like more specific help, you can post a reproducible example and describe what you want to happen.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.