Stevee
Stevee
FFilament
Created by BKF Dev on 8/20/2024 in #❓┊help
Bug in v3.2.105
also happen to me, downgrading to 102 fixed it
28 replies
FFilament
Created by jelmerkeij on 6/16/2023 in #❓┊help
Set column action on condition
did you got the solution ?
18 replies
FFilament
Created by jelmerkeij on 6/16/2023 in #❓┊help
Set column action on condition
Hai, Im also have this similar issue
18 replies
FFilament
Created by Stevee on 1/8/2024 in #❓┊help
minimal theme on additional panel
Will try later, already 8 pm here
5 replies
FFilament
Created by Stevee on 12/19/2023 in #❓┊help
TextInput integer save 0 as null
thank youu
7 replies
FFilament
Created by Stevee on 12/19/2023 in #❓┊help
TextInput integer save 0 as null
still save as null
7 replies
FFilament
Created by Martin on 10/3/2023 in #❓┊help
$dataChecksum must not be accessed before initialization
is this fixed ? I also facing this when use it together with page filter
5 replies
FFilament
Created by Stevee on 10/30/2023 in #❓┊help
Validating Percentage Inputs in a Repeater
bump
7 replies
FFilament
Created by Stevee on 10/30/2023 in #❓┊help
Validating Percentage Inputs in a Repeater
but in v3, the ValidationException messages is not show and this also block others ValidationException to be shown
7 replies
FFilament
Created by Stevee on 10/30/2023 in #❓┊help
Validating Percentage Inputs in a Repeater
actually in v2, I do something like
$items = $this->getItems();
$total = 0;

foreach ($items as $item) {
if (isset($item['propertyA']) && $item['propertyA'] !== '0' && isset($item['propertyB'])) {
$total += (int) $item['propertyB'];
} else {
$total += 0;
}
}

if ($total > 100) {
throw ValidationException::withMessages(['items' => __('Total percentage cannot exceed 100%')]);
}

if ($total < 50) {
throw ValidationException::withMessages(['items' => __('Total percentage must be 50% or more')]);
}
$items = $this->getItems();
$total = 0;

foreach ($items as $item) {
if (isset($item['propertyA']) && $item['propertyA'] !== '0' && isset($item['propertyB'])) {
$total += (int) $item['propertyB'];
} else {
$total += 0;
}
}

if ($total > 100) {
throw ValidationException::withMessages(['items' => __('Total percentage cannot exceed 100%')]);
}

if ($total < 50) {
throw ValidationException::withMessages(['items' => __('Total percentage must be 50% or more')]);
}
7 replies
FFilament
Created by Stevee on 10/30/2023 in #❓┊help
Validating Percentage Inputs in a Repeater
oh where I can see it ?, only can find validation for specific field at the docs
7 replies
FFilament
Created by Stevee on 8/24/2023 in #❓┊help
thousandsSeparator mask for v3
just find out, this happend on chrome but not on firefox
5 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
cant find anything strange
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
for TextInput::make('name')
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
at my case, I need to declare the field variable ex.
public ?string $name = null;
public ?string $name = null;
33 replies
FFilament
Created by Stevee on 9/26/2023 in #❓┊help
configure table pagination at service provider
thank you
5 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
thought no need anymore in v3
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
ah found out the problem, need to declare the fields variable
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
oh wrong copy paste, it's should be like
$this->form->fill([
'fieldName' => 'fieldValue',
])
$this->form->fill([
'fieldName' => 'fieldValue',
])
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
but I need to use simplepage because the form need to be for guest(non login user)
33 replies