Skip to content

Commit ffad287

Browse files
committed
fix(Input): dont use reserved onChange
1 parent d13bd97 commit ffad287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/op-input/op-input.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ import { Component, Prop } from '@stencil/core';
77
export class OpInput {
88
@Prop() type: string;
99
@Prop() label: string;
10-
@Prop() onChange: any;
10+
@Prop() inputOnChange: any;
1111
@Prop() id: string;
1212
render() {
1313
return (
1414
<div class="op-input__wrap">
1515
<op-label>
1616
<span class="op-input__text">{this.label}</span>
1717
<input
18-
onChange={this.onChange}
18+
onChange={this.inputOnChange}
1919
id={this.id || null}
2020
class="op-input"
2121
type={this.type}

0 commit comments

Comments
 (0)