mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
delegate is_sensitive_input argument to the form component
This commit is contained in:
parent
7fc6cad8b5
commit
a15738f391
3 changed files with 11 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ pub struct Form {
|
|||
|
||||
impl Form {
|
||||
// Construct
|
||||
pub fn new_arc(action_update: Arc<SimpleAction>) -> Arc<Self> {
|
||||
pub fn new_arc(action_update: Arc<SimpleAction>, is_sensitive_input: bool) -> Arc<Self> {
|
||||
// Init widget
|
||||
let widget = Widget::new_arc(action_update);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue