gon.exe
gon.exe
FFilament
Created by nowak on 3/19/2024 in #❓┊help
TextInput live onBlur does not seem to work as expected
I just confirmed by myself on vendor/filament/forms/src/Concerns/HasStateBindingModifiers.php:
public function reactive(): static
{
$this->live();

return $this;
}
public function reactive(): static
{
$this->live();

return $this;
}
21 replies
FFilament
Created by nowak on 3/19/2024 in #❓┊help
TextInput live onBlur does not seem to work as expected
No description
21 replies
FFilament
Created by nowak on 3/19/2024 in #❓┊help
TextInput live onBlur does not seem to work as expected
I just resolved the issue on my side putting the live() property after reactive()
21 replies
FFilament
Created by nowak on 3/19/2024 in #❓┊help
TextInput live onBlur does not seem to work as expected
Thanks @Jon Mason
21 replies
FFilament
Created by nowak on 3/19/2024 in #❓┊help
TextInput live onBlur does not seem to work as expected
@Jon Mason I am having the same issue. Did you fix it ? Thanks in advance!
21 replies
FFilament
Created by gon.exe on 12/20/2023 in #❓┊help
Upgrade v3. Alpine issue
Thanks @awcodes !
7 replies
FFilament
Created by gon.exe on 12/20/2023 in #❓┊help
Upgrade v3. Alpine issue
Any idea ?
7 replies
FFilament
Created by gon.exe on 12/20/2023 in #❓┊help
Upgrade v3. Alpine issue
For more information. I am having the issue on a custom Page:
<x-filament::page>

<head>
<meta name="csrf-token" content="{{ csrf_token() }}">
</head>

<style>
#map {
width: 100%;
height: 500px;
}

</style>

@script

<script>

window.addEventListener('dispatchEvent', event => {
initMap(event.detail[0].formData);
});

function initMap(formData) {
// ... code
}

function calculateAndDisplayRoute(directionsService, directionsRenderer, data, formData) {
// ... code
}

</script>

@endscript

<body>

<!-- Form panel -->
@livewire('work-orders-route.work-orders-route-form')

<!-- Map panel -->
<div id="map"style="display: none">>
</div>

<!-- Table panel -->
<div id="wo-table" style="display: none">
@livewire('work-orders-route.work-orders-route-table')
</div>

<!-- Google Maps API -->
<script
src="https://maps.googleapis.com/maps/api/js?key=@php echo env("GOOGLE_MAPS_API_KEY");@endphp&v=weekly"
defer>
</script>

</body>

</x-filament::page>
<x-filament::page>

<head>
<meta name="csrf-token" content="{{ csrf_token() }}">
</head>

<style>
#map {
width: 100%;
height: 500px;
}

</style>

@script

<script>

window.addEventListener('dispatchEvent', event => {
initMap(event.detail[0].formData);
});

function initMap(formData) {
// ... code
}

function calculateAndDisplayRoute(directionsService, directionsRenderer, data, formData) {
// ... code
}

</script>

@endscript

<body>

<!-- Form panel -->
@livewire('work-orders-route.work-orders-route-form')

<!-- Map panel -->
<div id="map"style="display: none">>
</div>

<!-- Table panel -->
<div id="wo-table" style="display: none">
@livewire('work-orders-route.work-orders-route-table')
</div>

<!-- Google Maps API -->
<script
src="https://maps.googleapis.com/maps/api/js?key=@php echo env("GOOGLE_MAPS_API_KEY");@endphp&v=weekly"
defer>
</script>

</body>

</x-filament::page>
7 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
Thank you so much for your support! @awcodes and @Leandro Ferreira
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
It is working now!
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
Yes sir!
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
😦 The same. I still getting the error
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
Environment Application Name . Green Ambiental
Laravel Version . 10.37.3
PHP Version . 8.1.0
Composer Version . 2.6.6
Environment . local
Debug Mode . ENABLED
URL . 127.0.0.1:8000
Maintenance Mode . OFF
Cache
Config . NOT CACHED
Events . NOT CACHED
Routes . NOT CACHED
Views . NOT CACHED
Drivers Broadcasting . log Cache . file Database . pgsql Logs . stack / single Mail . smtp Queue . sync Session . file
Filament Packages . filament, forms, notifications, support, tables Version . v3.0.0 Views . NOT PUBLISHED Livewire Livewire . v3.3.0
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
No description
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
I have already tested it. It doesn't work either
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
No, I get the error "Class "Filament\Support\Enums\MaxWidth" not found"
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
I just changed to "filament/filament": "^3.0", then run "composer update" and the issue persists
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
30 replies
FFilament
Created by gon.exe on 12/19/2023 in #❓┊help
v3 Upgrade. MaxWidth not found
I am running php 8.1 . I did your suggestion and could not import the needed class.
30 replies