Eren
Eren
FFilament
Created by Eren on 4/13/2024 in #❓┊help
Select add data without leaving page
When i try to add it open modal window but error like this Select field [data.product_pricing.record-1.product_types.3353ebcb-797f-4cf1-8643-f4e3c4b0f38b.product_type_id] must have a [createOptionUsing()] closure set. as you see i remove relationship from select but when i add relationship to select. I got an error like this Call to a member function getModel() on null Can not open modal window at all.
5 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
if anyone got any problems like that you can disable hasVerified part and you can login. Its really odd.
public function canAccessPanel(Panel $panel): bool
{
return str_ends_with($this->email, '@domain.com');
}
public function canAccessPanel(Panel $panel): bool
{
return str_ends_with($this->email, '@domain.com');
}
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
if (Hash::check('ererer123', $user->password)) {
. echo "Password correct.\n"; . } else { . echo "Password wrong.\n"; . } Password correct. > I tried to check password from db with tinker. Password is correct but still can not login. Probably this make me crazy for a while 🙂 if you have an idea. Please let me know. thank you
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
Not working at all. I tried everyting
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
Nope. It didn't fix. I dont do any db things during deployment. I have one seeder for my language seeder. because it will be multi language and dynamic routes. but its just few column for language. I dont think its a problem for User column.
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
oh my bad. after deploy few things. User modal changed again. I fixed it but still i got credentials error. Can not login.
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
via make:filament-user btw i logged in probably now. I cleaned some cache etc. but now i got 403 page.
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
yes
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
I did php artisan migrate but without any data. thats why i create new user. I created 2 users but couldn't login.
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
Nope.
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
These credentials do not match our records.I dont know whats happening.
I didnt touch anything in User Model. I just move to production. After that password or email doesnt work. Its working on local machine.
20 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
Production Error
I got it. I got it. Its change after v2. Couldnt realize. because i updated from v2.
11 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
Production Error
import panel where exactly User model ? can you please share import code. thank you.
11 replies
FFilament
Created by Eren on 3/28/2024 in #❓┊help
Production Error
<?php

namespace App\Models;

use Filament\Models\Contracts\FilamentUser;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;

class User extends Authenticatable implements FilamentUser
{
use HasApiTokens, HasFactory, Notifiable;


public function canAccessPanel(Panel $panel): bool
{
return str_ends_with($this->email, '@excursionlands.com') && $this->hasVerifiedEmail();
}


/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'name',
'email',
'password',
];

/**
* The attributes that should be hidden for serialization.
*
* @var array<int, string>
*/
protected $hidden = [
'password',
'remember_token',
];

/**
* The attributes that should be cast.
*
* @var array<string, string>
*/
protected $casts = [
'email_verified_at' => 'datetime',
'password' => 'hashed',
];
<?php

namespace App\Models;

use Filament\Models\Contracts\FilamentUser;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;

class User extends Authenticatable implements FilamentUser
{
use HasApiTokens, HasFactory, Notifiable;


public function canAccessPanel(Panel $panel): bool
{
return str_ends_with($this->email, '@excursionlands.com') && $this->hasVerifiedEmail();
}


/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'name',
'email',
'password',
];

/**
* The attributes that should be hidden for serialization.
*
* @var array<int, string>
*/
protected $hidden = [
'password',
'remember_token',
];

/**
* The attributes that should be cast.
*
* @var array<string, string>
*/
protected $casts = [
'email_verified_at' => 'datetime',
'password' => 'hashed',
];
11 replies
FFilament
Created by Eren on 2/26/2024 in #❓┊help
Add watermark curator images.
Thank you. I did.
5 replies
FFilament
Created by Eren on 5/5/2023 in #❓┊help
Json Show Value
Thank you guys. Really helpful.
5 replies
FFilament
Created by Eren on 3/22/2023 in #❓┊help
getRouteKeyName()
Okay. I remove it from models. I couldnt find any different way 🙂
5 replies
FFilament
Created by AlexAnder on 3/22/2023 in #❓┊help
Edit page Load'ing
can you try to disable debugbar and check your load time. I had a same problem with barryvdh debugbar.
20 replies
FFilament
Created by AlexAnder on 3/22/2023 in #❓┊help
Edit page Load'ing
Do you use debugbar ?
20 replies
FFilament
Created by Eren on 3/22/2023 in #❓┊help
getRouteKeyName()
Missing required parameter for [Route: filament.resources.tour/products.edit] [URI: admin/tour/products/{record}/edit] [Missing parameter: record]. Thats my error btw. {record} was slug before but now it cant be slug because its dynamic. It should be id.
5 replies