In a Document Type, when uploading an image for the icons (either Icon/Larg or SVG), the file speaker allows for selecting almost everything. It's only when you click the "Upload button" that an alert tells you you made a mistake:
- Open a Doc. type definition
- Click "Select Resource" for the SVG Icon
- Click "Choose file" and select a png (of jpg, or whatever, but not a svg)
- Click "Upload
=> An alert is displayed: "Your file should match one of this extension: .svg". Same kind of error if you choose a SVG for Icon/Large icon
The file picker should filter that, making sure the user can't select a non valid image format.
(this is a "Low Code Happiness topic )
- Is referenced in