Add drag and drop
This commit is contained in:
@@ -113,6 +113,11 @@ class EventCreatePage extends React.Component<EventCreatePageProps, EventCreateP
|
||||
onChange = (data) => {
|
||||
this.setState({
|
||||
formData: data.formData,
|
||||
});
|
||||
}
|
||||
|
||||
onFocus = () => {
|
||||
this.setState({
|
||||
statusMessage: null,
|
||||
});
|
||||
}
|
||||
@@ -220,7 +225,8 @@ class EventCreatePage extends React.Component<EventCreatePageProps, EventCreateP
|
||||
widgets={widgets}
|
||||
onChange={this.onChange}
|
||||
onSubmit={this.onSubmit}
|
||||
onError={this.onError} />
|
||||
onError={this.onError}
|
||||
onFocus={this.onFocus} />
|
||||
{ error && <div className="error">{error}</div> }
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user