Spaces:
Running
Running
Update app.R
Browse files
app.R
CHANGED
@@ -150,8 +150,17 @@ output$table <- renderReactable({
|
|
150 |
},
|
151 |
|
152 |
error = function(e){
|
153 |
-
|
154 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
}
|
156 |
)
|
157 |
})
|
|
|
150 |
},
|
151 |
|
152 |
error = function(e){
|
153 |
+
shinyAlert(
|
154 |
+
title = "Error!",
|
155 |
+
text = "You can only enter text values",
|
156 |
+
closeOnEsc = TRUE,
|
157 |
+
closeOnClickOutside = TRUE,
|
158 |
+
confirmButtonText = "OK",
|
159 |
+
confirmButtonCol = "#9f0be4",
|
160 |
+
timer = 30000,
|
161 |
+
showCancelButton = FALSE,
|
162 |
+
showConfirmButton = TRUE
|
163 |
+
)
|
164 |
}
|
165 |
)
|
166 |
})
|