This way when the parent calls setValue() which calls cleanUpValue(), it
cleans up the value correctly.
Change-Id: I9dcfa74ca03f6aded1dd0f9593d24b0986596b41
config.formatter.format = '@' + config.type;
}
+ // Early properties
+ this.type = config.type;
+
// Parent constructor
mw.widgets.datetime.DateTimeInputWidget[ 'super' ].call( this, config );
OO.ui.mixin.PendingElement.call( this, config );
// Properties
- this.type = config.type;
this.$handle = $( '<span>' );
this.$fields = $( '<span>' );
this.fields = [];