chore: latest PR feedback (rename variable, insert needed spaces)
All checks were successful
/ test (pull_request) Successful in 3m47s
All checks were successful
/ test (pull_request) Successful in 3m47s
This commit is contained in:
parent
e71b0944f6
commit
06cb0d29a7
2 changed files with 3 additions and 3 deletions
|
|
@ -63,9 +63,9 @@ fn RegulatorInput(regulator: Rc<dyn Regulator>) -> View {
|
||||||
placeholder = measurement.with(|result| result.to_string()),
|
placeholder = measurement.with(|result| result.to_string()),
|
||||||
bind:value = value,
|
bind:value = value,
|
||||||
on:change = move |_| {
|
on:change = move |_| {
|
||||||
let val = SpecifiedValue::try_from(value.get_clone_untracked());
|
let sv = SpecifiedValue::try_from(value.get_clone_untracked());
|
||||||
valid.set(
|
valid.set(
|
||||||
match val {
|
match sv {
|
||||||
Ok(set_pt) => {
|
Ok(set_pt) => {
|
||||||
set_point.set(set_pt);
|
set_point.set(set_pt);
|
||||||
true
|
true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue