View source: R/ds-error-summary.R
| ds_error_summary | R Documentation |
Display a summary of form validation errors.
ds_error_summary(..., heading = "Feil i skjema", class = NULL)
... |
Error list items |
heading |
The heading text for the error summary |
class |
Additional CSS classes |
A Shiny tag object
ds_error_summary(
heading = "There were errors in the form",
htmltools::tags$li(ds_link("Name is required", href = "#name")),
htmltools::tags$li(ds_link("Email is invalid", href = "#email"))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.