diff --git a/app/View/Components/Forms/InputWithSelect.php b/app/View/Components/Forms/InputWithSelect.php index ee25b2535..0cc03b65b 100644 --- a/app/View/Components/Forms/InputWithSelect.php +++ b/app/View/Components/Forms/InputWithSelect.php @@ -16,8 +16,6 @@ class InputWithSelect extends Component public ?string $combinedBinding = null; - public ?string $structuredBinding = null; - public function __construct( public ?string $id = null, public ?string $name = null, @@ -78,7 +76,6 @@ class InputWithSelect extends Component if ($this->modelBinding && $this->modelBinding !== 'null') { $this->combinedBinding = $this->modelBinding; - $this->structuredBinding = $this->modelBinding . 'Structured'; } if (is_null($this->defaultOption) && !empty($this->options)) { diff --git a/resources/views/components/forms/input-with-select.blade.php b/resources/views/components/forms/input-with-select.blade.php index 5a9e10d4b..51784d4c2 100644 --- a/resources/views/components/forms/input-with-select.blade.php +++ b/resources/views/components/forms/input-with-select.blade.php @@ -13,18 +13,16 @@ } -
@@ -43,19 +41,18 @@
{{-- Hidden input for wire:dirty tracking (binds to combinedValue which has the full value with unit) --}} @if ($modelBinding !== 'null') - @endif - + {{-- Input --}} - {{-- Select --}} -