uuid = 'component'.md5(serialize($this)).$id; if (($this->allowAll || $this->compact) && ($this->single || $this->searchable)) { throw new Exception('`allow-all` and `compact` does not work combined with `single` or `searchable`.'); } } public function getOptionValue($option): mixed { $value = data_get($option, $this->optionValue); if ($this->valuesAsString) { return "'$value'"; } if ($this->escapeValues) { $value = addslashes($value); return "'$value'"; } return is_numeric($value) && ! str($value)->startsWith('0') ? $value : "'$value'"; } public function render(): View|Closure|string { return <<<'HTML'