This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div | |
x-data="{ value : @entangle($attributes->wire('model')) }" | |
x-on:change="value = $event.target.value" | |
x-init=" | |
new Pikaday({ field: $refs.input, 'format': 'MM/DD/YYYY' });" | |
> | |
<div class="relative mt-2"> | |
<input | |
{{ $attributes->whereDoesntStartWith('wire:model') }} | |
x-ref="input" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Component Render */ | |
<x-rich-text wire:model.lazy="description"></x-rich-text> |