Never disable email checkbox
This commit is contained in:
@@ -61,9 +61,4 @@ class CategoryEditForm extends Component
|
||||
{
|
||||
return (bool)$this->useDefaultEula;
|
||||
}
|
||||
|
||||
public function getSendCheckInEmailDisabledProperty()
|
||||
{
|
||||
return $this->eulaText || $this->useDefaultEula;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
value="1"
|
||||
wire:model.live="sendCheckInEmail"
|
||||
aria-label="checkin_email"
|
||||
@disabled($this->sendCheckInEmailDisabled)
|
||||
/>
|
||||
{{ trans('admin/categories/general.checkin_email') }}
|
||||
</label>
|
||||
@@ -100,9 +99,6 @@
|
||||
<span>{{ $this->emailMessage }}</span>
|
||||
</div>
|
||||
@endif
|
||||
@if ($this->sendCheckInEmailDisabled)
|
||||
<input type="hidden" name="checkin_email" wire:model.live="sendCheckInEmail" />
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user