disable dragging in text input fields
@@ -23,6 +23,7 @@ export default class SimpleTextField extends Component {
const val = this.state.value === false ? value : this.state.value
return (
+ <div draggable="true" onDragStart={e => e.preventDefault()}>
<TextField
id={id}
value={val}
@@ -45,6 +46,7 @@ export default class SimpleTextField extends Component {
})
}}
/>
+ </div>
)
}
}
