diff --git a/js/automation-editor/automation.js b/js/automation-editor/automation.js
index d76177333c..65c9e9edd3 100644
--- a/js/automation-editor/automation.js
+++ b/js/automation-editor/automation.js
@@ -60,7 +60,7 @@ export default class Automation extends Component {
label="Name"
name="alias"
value={alias}
- onChange={this.onChange}
+ onvalue-changed={this.onChange}
/>
diff --git a/js/automation-editor/trigger/event.js b/js/automation-editor/trigger/event.js
index c59861394d..620095ffe4 100644
--- a/js/automation-editor/trigger/event.js
+++ b/js/automation-editor/trigger/event.js
@@ -27,7 +27,7 @@ export default class EventTrigger extends Component {
label="Event Type"
name="event_type"
value={event_type}
- onChange={this.onChange}
+ onvalue-changed={this.onChange}
/>
For: {JSON.stringify(trgFor, null, 2)}} diff --git a/js/automation-editor/trigger/sun.js b/js/automation-editor/trigger/sun.js index 528fd8cbfe..2722088f44 100644 --- a/js/automation-editor/trigger/sun.js +++ b/js/automation-editor/trigger/sun.js @@ -36,7 +36,7 @@ export default class SunTrigger extends Component { label="Offset (optional)" name="offset" value={offset} - onChange={this.onChange} + onvalue-changed={this.onChange} /> ); diff --git a/js/automation-editor/trigger/time.js b/js/automation-editor/trigger/time.js index a535764fa6..038e76aae5 100644 --- a/js/automation-editor/trigger/time.js +++ b/js/automation-editor/trigger/time.js @@ -18,7 +18,7 @@ export default class TimeTrigger extends Component { label="At" name="at" value={at} - onChange={this.onChange} + onvalue-changed={this.onChange} /> ); diff --git a/js/common/component/condition/numeric_state.js b/js/common/component/condition/numeric_state.js index e892734cb6..1bb6a8e5ff 100644 --- a/js/common/component/condition/numeric_state.js +++ b/js/common/component/condition/numeric_state.js @@ -34,13 +34,13 @@ export default class NumericStateCondition extends Component { label="Above" name="above" value={above} - onChange={this.onChange} + onvalue-changed={this.onChange} />
For: {JSON.stringify(cndFor, null, 2)}} diff --git a/js/common/component/condition/sun.js b/js/common/component/condition/sun.js index 29f50c1fd6..df61dad4a2 100644 --- a/js/common/component/condition/sun.js +++ b/js/common/component/condition/sun.js @@ -45,7 +45,7 @@ export default class SunCondition extends Component { label="Before offset (optional)" name="before_offset" value={before_offset} - onChange={this.onChange} + onvalue-changed={this.onChange} disabled={before === undefined} /> @@ -64,7 +64,7 @@ export default class SunCondition extends Component { label="After offset (optional)" name="after_offset" value={after_offset} - onChange={this.onChange} + onvalue-changed={this.onChange} disabled={after === undefined} /> diff --git a/js/common/component/condition/time.js b/js/common/component/condition/time.js index a832679510..b5d804a3ed 100644 --- a/js/common/component/condition/time.js +++ b/js/common/component/condition/time.js @@ -18,13 +18,13 @@ export default class TimeCondition extends Component { label="After" name="after" value={after} - onChange={this.onChange} + onvalue-changed={this.onChange} />