The system-wide warning callout was not appearing when the checkbox was toggled because it was only evaluated on initial render. Changes: - Wrapped checkbox and warning in Alpine.js x-data scope - Used @entangle to bind showWarning to the is_system_wide Livewire property - Added x-show directive to reactively show/hide warning based on checkbox state - Added x-transition for smooth appearance/disappearance - Added style="display: none;" to prevent flash of content on load Now the warning appears immediately when the System Wide checkbox is checked and disappears when unchecked. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| change.blade.php | ||
| create.blade.php | ||