I have proposed it, but @owen.campbell already has plans for a validator with different requirements and perhaps doesn’t want to end up with one library with two partially overlapping modules.
When I saw the post from @hugetim i decided to share it from my own account without a github repository.
I have tried to work with my own cloned copy of Anvil Extras and add my validator to it, then I remembered why I don’t like large dependencies
I used to have my own CustomComponents
dependency that was difficult to maintain and would break many apps if there was a problem. So I split it into many little ones, including this validator, and now the maintenance is much easier.
With my CustomComponents
I used to have dozens of components on the toolbox. Now the toolbox is more compact, but when I use Anvil Extras only for the router I get all those custom components that I don’t need.
I’m back using the official Anvil Extras because it’s well maintained, better than what I would do with my own coy. I think this Validator would belong there, but I don’t know Owens’ long term plans and I’m OK with keeping my little Validator living is own life.