Learn R Programming

polished (version 0.1.0)

user_edit_module: user_edit_module

Description

user_edit_module

Usage

user_edit_module(
  input,
  output,
  session,
  modal_title,
  user_to_edit,
  open_modal_trigger,
  existing_users
)

Arguments

input

Shiny server function input

output

Shiny sever function output

session

Shiny server function session

modal_title

the title for the modal

user_to_edit

reactive - a one row data frame of the user to edit from the "app_users" table.

open_modal_trigger

reactive - a trigger to open the modal

existing_users

reactive data frame of all users of this app. This is used to check that the user does not add a user that already exists.