Item Modal Dialog(s)
item_dialog.RdProduces a create / update / delete modal dialog to display.
Usage
item_dialog(
data.model = NULL,
items = NULL,
workflow = c("create", "update", "delete"),
item = NULL,
shortcut = FALSE,
ns
)Arguments
- data.model
a data.frame of the data model.
- items
a data.frame of the items.
- workflow
a character string to indicate workflow (see details).
- item
a data.frame of the item to update (when
workflow= "update").- shortcut
a logical (default
FALSE) if shortcuts should be activated.- ns
the intended namespace function to use in the dialog.
Value
a modal dialog to display using shiny::showModal().