Validation of Asset-Field does not work

I have an asset field in a grid and would like to validate it.

I tried "mimes:png,jpg,svg", and uploaded a basic small .jpg file. But it tells "Must be file of type png, jpg, svg".

Am i overseeing something?

            -
              handle: image
              field:
                mode: list
                container: assets
                folder: logos
                restrict: false
                allow_uploads: true
                max_files: 1
                display: Image
                type: assets
                icon: assets
                listable: true
                validate:
                  - 'mimes:png,jpg,svg'
>>>>>>> Unanswered <<<<<<<
0 Replies
1 Follower