mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Livewire UI installed
This commit is contained in:
27
resources/views/vendor/wireui/components/inputs/currency.blade.php
vendored
Normal file
27
resources/views/vendor/wireui/components/inputs/currency.blade.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<div x-data="wireui_inputs_currency({
|
||||
isLazy: @boolean($attributes->wire('model')->hasModifier('lazy')),
|
||||
model: @entangle($attributes->wire('model')),
|
||||
emitFormatted: @boolean($emitFormatted),
|
||||
thousands: '{{ $thousands }}',
|
||||
decimal: '{{ $decimal }}',
|
||||
precision: {{ $precision }},
|
||||
})" {{ $attributes->only('wire:key') }}>
|
||||
<x-dynamic-component
|
||||
:component="WireUi::component('input')"
|
||||
{{ $attributes->whereDoesntStartWith(['wire:model', 'wire:key'])->except('type') }}
|
||||
:borderless="$borderless"
|
||||
:shadowless="$shadowless"
|
||||
:label="$label"
|
||||
:hint="$hint"
|
||||
:corner-hint="$cornerHint"
|
||||
:icon="$icon"
|
||||
:right-icon="$rightIcon"
|
||||
:prefix="$prefix"
|
||||
:suffix="$suffix"
|
||||
:prepend="$prepend"
|
||||
:append="$append"
|
||||
x-model="input"
|
||||
x-on:input="mask($event.target.value)"
|
||||
x-on:blur="emitInput($event.target.value)"
|
||||
/>
|
||||
</div>
|
||||
Reference in New Issue
Block a user