what exactly do you mean by validation method?
if i get you correctly, you set the quantity as an attribute in your livewire Form dedicated object
something like this
class QuantityForm extends Form
{
public int $quantity = 0;
}
since your quantity attribute is integer when you dd() it, i suppose you define the type over here (and do not do any magic with request input in middleware or something)
"validation method" => from what i deduce, you do not use validate attributes (#[Validate]...), nor validation rules method (public function rules())...
how do you access it then? because there is no way in here ($this->quantity)or this form's parent component $this->form->quantity, that this attribute is Stringable đ€Ż.
show us the validation code
