alfaruqrizqi18
alfaruqrizqi18
FFilament
Created by EEJ on 8/11/2023 in #❓┊help
v3 Rich Editor disabled undefined value
Okay will try to update guys
17 replies
FFilament
Created by EEJ on 8/11/2023 in #❓┊help
v3 Rich Editor disabled undefined value
No description
17 replies
FFilament
Created by alfaruqrizqi18 on 9/8/2023 in #❓┊help
How to login from smartphone?
This is my env
APP_NAME=Laravel
APP_ENV=local
APP_KEY=***************
APP_DEBUG=true
APP_URL=http://192.168.1.4
APP_NAME=Laravel
APP_ENV=local
APP_KEY=***************
APP_DEBUG=true
APP_URL=http://192.168.1.4
8 replies
FFilament
Created by alfaruqrizqi18 on 9/8/2023 in #❓┊help
How to login from smartphone?
this is my user model
8 replies
FFilament
Created by alfaruqrizqi18 on 9/8/2023 in #❓┊help
How to login from smartphone?
<?php

namespace App\Models;

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

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

/**
* 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',
];

public function canAccessPanel(Panel $panel): bool {
return true;
}

public function contents(): HasMany {
return $this->hasMany(Content::class);
}
}
<?php

namespace App\Models;

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

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

/**
* 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',
];

public function canAccessPanel(Panel $panel): bool {
return true;
}

public function contents(): HasMany {
return $this->hasMany(Content::class);
}
}
8 replies
FFilament
Created by alfaruqrizqi18 on 9/8/2023 in #❓┊help
How to login from smartphone?
still same
8 replies
FFilament
Created by alfaruqrizqi18 on 9/8/2023 in #❓┊help
How to login from smartphone?
oh ok, will try it
8 replies
FFilament
Created by EEJ on 8/11/2023 in #❓┊help
v3 Rich Editor disabled undefined value
No description
17 replies
FFilament
Created by EEJ on 8/11/2023 in #❓┊help
v3 Rich Editor disabled undefined value
No description
17 replies
FFilament
Created by EEJ on 8/11/2023 in #❓┊help
v3 Rich Editor disabled undefined value
how to fix it? updating the version?
17 replies
FFilament
Created by EEJ on 8/11/2023 in #❓┊help
v3 Rich Editor disabled undefined value
is this fixed? I'm facing this problem too I'm using "filament/filament": "3.0-stable"
17 replies