I\'m trying to create a dynamic UI, so i used this code
output$col <- renderUI({ map(col_names(), ~ textInput(.x, NULL, value = isolate(input[[.x]])) %||
The %||% comes from rlang. You can find it on the ?"op-null-default" help page. From the documentation
%||%
rlang
?"op-null-default"
This infix function makes it easy to replace NULLs with a default value. It's inspired by the way that Ruby's or operation (||) works.
Basically it returns the second value if the first is NULL.