O'Reilly logo

Angular UI Development with PrimeNG by Oleg Varaksin, Sudheer Jonna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizations

Validation messages can be customized using the following four options:

Property name Description Default value
invalidFileSizeMessageSummary Summary message of the invalid file size. The placeholder {0} refers to the file name. {0}: Invalid file size,
invalidFileSizeMessageDetail Detail message of the invalid file size. The placeholder {0} refers to the file size. maximum upload size is {0}.
invalidFileTypeMessageSummary Summary message of the invalid file type. The placeholder {0} refers to the file type. {0}: Invalid file type,
invalidFileTypeMessageDetail Detail message of the invalid file type. The placeholder {0} refers to the allowed file types. allowed file types: {0}

The next code snippet and screenshot ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required