Skip to content

Commit

Permalink
Hot fix
Browse files Browse the repository at this point in the history
input with id
  • Loading branch information
lee-to authored May 15, 2024
1 parent 9e53a7a commit 1eca07b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/views/fields/trix.blade.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="hidden">
<x-moonshine::form.textarea
:attributes="$element->attributes()->merge([
'id' => $element->id(),
'name' => $element->name()
])->except('x-bind:id')"
::id="$id('trix-editor')"
>{!! $value ?? '' !!}</x-moonshine::form.textarea>
</div>

Expand Down Expand Up @@ -80,4 +80,3 @@ function createFormData(key, file) {
})();
</script>
@endif

0 comments on commit 1eca07b

Please sign in to comment.