Integer value displayed incorrectly
hey i have the following table column
with the value of 76561198065698992 in the db , and table view is the same but when i click edit is being displayed as 76561198065698990 so the 2 at the end is 0 any idea what is causing this
16 Replies
i have removed the numeric() and its the same
You are likely casting it to a float? there is a limitation with floating-point numbers. So usually you overcome it with the likes of bcmath. What does your model look like
Token::find(1)->toArray()
return?Can you check the HTML. Is any validation on the form element?
well i've used artisan make:filament-resource Token --generate for this i have pasted all there is regarding this resource
Why did you include the form input twice? Or is this only the versions you tried?
Is this v3?
v3
i haven't included the form twice
i trimmed out the tailwind classes , but this is the html that is being generated
when inspecting the input field
Looks fine to me
its weird , maybe try replicating it ? its a pretty simple resource
i need to go pickup my daughter , i will get back to you if you find anything i would appreciate the help thanks
?
that works thank you very much