protected function getAttributeFrom()
    {
        $attribute = array_get($this->formFieldData->options(), 'from', $this->formFieldData->source());

        if ( ! $attribute) {
            throw new UnexpectedValueException("DateRangeStrategy must have 'date_from' option set");
        }

        return $attribute;
    }