daregu
Issue with Dynamic Class Application in `TextInput::make`
Hello, I’m encountering an issue with dynamically applying a class in the
TextInput::make
component of my project.
Here’s the code I’m using:
The problem is that the class is not applied correctly when it is evaluated dynamically based on the $positivo
variable.
However, when I use a static class like this:
It works perfectly. But when I try to dynamically assign the class, it seems that the appropriate class is not applied.
Does anyone have any ideas why this happens or how to resolve it?
Thanks in advance for your help!2 replies