Issue with Uniform after updating to 5.4.1

Hi,

I am working on a fairly old site, and am running through updating Kirby & associated plugins, and updating the site’s PHP to 8.1. I am now having an issue with Uniform - when I submit a form I get the following error:

htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated

in /site/plugins/kirby-form/src/Form.php384

I am running Uniform 5.4.1, and the dependency kirby-form looks like it is version 3.3.0.

If anyone has any info that would be great

The easiest way to work around this is to set the error reporting level in your php.ini to ignore deprecation warnings.

The next step would be to create an issue in the uniform repo