Work in progress on confirmation dialogs displayed when one navigates from a page with unsaved changes.
Optimized imports.
This commit is contained in:
parent
3921a6b2cb
commit
008fd21b51
30 changed files with 324 additions and 231 deletions
|
@ -28,7 +28,9 @@ import {withComponentMixins} from "../lib/decorator-helpers";
|
|||
class TestUser extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.initForm();
|
||||
this.initForm({
|
||||
leaveConfirmation: false
|
||||
});
|
||||
}
|
||||
|
||||
static propTypes = {
|
||||
|
@ -94,7 +96,9 @@ class TestUser extends Component {
|
|||
class SendControls extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.initForm();
|
||||
this.initForm({
|
||||
leaveConfirmation: false
|
||||
});
|
||||
}
|
||||
|
||||
static propTypes = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue