coolify/resources/views/components/forms
Andras Bacsai ff71b28b81 Fix Monaco editor @entangle error with unique HTML IDs
**Problem:**
Monaco editor was receiving unique HTML IDs (e.g., "customLabels-a09a7773")
and using them in @entangle(), causing errors:
"Livewire property ['customLabels-a09a7773'] cannot be found"

**Root Cause:**
Monaco editor template uses @entangle($id) to bind to Livewire properties.
After our unique ID fix, $id contained the unique HTML ID with suffix,
not the original property name.

**Solution:**
Pass $modelBinding (original property name) instead of $htmlId to Monaco
editor component. This ensures @entangle() uses the correct property name
while HTML elements still get unique IDs.

**Result:**
 Monaco editor @entangle works correctly
 HTML IDs remain unique
 No Livewire property errors

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 10:34:36 +02:00
..
button.blade.php feat: migrate env variables to polymorphic relationship 2024-12-17 10:38:42 +01:00
checkbox.blade.php Fix duplicate HTML ID warnings in form components 2025-10-14 10:27:41 +02:00
copy-button.blade.php fix(ui): only show copy button on https 2025-04-02 19:38:53 +02:00
datalist.blade.php Fix duplicate HTML ID warnings in form components 2025-10-14 10:27:41 +02:00
input.blade.php Fix duplicate HTML ID warnings in form components 2025-10-14 10:27:41 +02:00
monaco-editor.blade.php fix(ui): disable sticky scroll in Monaco editor 2025-02-22 13:04:41 +01:00
select.blade.php Fix duplicate HTML ID warnings in form components 2025-10-14 10:27:41 +02:00
textarea.blade.php Fix Monaco editor @entangle error with unique HTML IDs 2025-10-14 10:34:36 +02:00