You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you by any chance implement the threshold option?
I would do it myself and make a pull request but I'm not yet well versed enough on things to try it out myself.
Hope to hear from you soon.
The text was updated successfully, but these errors were encountered:
Then, you see that the value is either a signed number with or without the % sign, so you can take examples of options like this one (-strokewidth) for the base implementation.
For the validator, you can create a function threshold(string $value) method in the References.php class to check that the value is a percentage or number, and if validation fails, throw an exception with as many explanations as you can, just like in other validation methods.
Does this seem doable for your first contribution here? 😉
Hi thanks for this package!
Could you by any chance implement the threshold option?
I would do it myself and make a pull request but I'm not yet well versed enough on things to try it out myself.
Hope to hear from you soon.
The text was updated successfully, but these errors were encountered: