add sensitive input status code support

This commit is contained in:
yggverse 2024-10-17 16:34:35 +03:00
parent a15738f391
commit 861046e162
8 changed files with 231 additions and 18 deletions

View file

@ -28,7 +28,6 @@ impl Response {
base: Uri,
title: Option<&str>,
size_limit: Option<usize>,
is_sensitive_input: bool,
) -> Arc<Self> {
// Init local actions
let action_update = Arc::new(SimpleAction::new(&uuid_string_random(), None));
@ -36,7 +35,7 @@ impl Response {
// Init components
let control = Control::new_arc(action_send.clone());
let form = Form::new_arc(action_update.clone(), is_sensitive_input);
let form = Form::new_arc(action_update.clone());
let title = Title::new_arc(title);
// Init widget