33 parent::__construct( $options );
35 $this->required = $options[
'required'] ??
false;
39 $this->relativeInput->addClasses( [
'mw-widget-ExpiryWidget-relative' ] );
44 'mw-widget-ExpiryWidget',
45 'mw-widget-ExpiryWidget-hasDatePicker'
47 ->appendContent( $this->relativeInput );
51 return 'mw.widgets.ExpiryWidget';
60 $this->relativeInput->getConfig(
$config[
'relativeInput'] );
61 return parent::getConfig(
$config );