def apply_widget_options(self, field_name):
        """
        Applies additional widget options like changing the input type of DateInput
        and TimeInput to "date" / "time" to enable Browser date pickers or other
        attributes/properties.
        """
        widget = self.fields[field_name].widget

        if isinstance(widget, forms.DateInput):
            widget.input_type = 'date'

        if isinstance(widget, forms.TimeInput):
            widget.input_type = 'time'

        if isinstance(widget, forms.SplitDateTimeWidget):
            widget.widgets[0].input_type = 'date'
            widget.widgets[1].input_type = 'time'