We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd8875d commit 02b318dCopy full SHA for 02b318d
src/components/bottom/HtmlAttr.tsx
@@ -118,7 +118,9 @@ class HtmlAttr extends Component<HTMLAttrPropsInt, StateInt> {
118
className={classes.select}
119
id="htmlType"
120
placeholder="title"
121
- onChange={this.handleChange}
+ onChange={(event: React.ChangeEvent<HTMLSelectElement>) =>
122
+ this.handleChange(event)
123
+ }
124
value={buttonTypeTemp}
125
defaultValue={`${``}`}
126
required
@@ -140,7 +142,9 @@ class HtmlAttr extends Component<HTMLAttrPropsInt, StateInt> {
140
142
label={attr}
141
143
variant="outlined"
144
id={attr}
145
+ onChange={(event: React.ChangeEvent<HTMLInputElement>) =>
146
147
148
value={this.state[attr]}
149
/>
150
)}
0 commit comments