Primeng: p-fileUpload not capturing invalidFileSizeMessageSummary (any of the invalid messages)

Created on 1 Dec 2017  路  2Comments  路  Source: primefaces/primeng

http://plnkr.co/edit/3gGBMHFNhkaLagspUGt7?p=preview

As you can see the message is the one from the fileupload component, it's not showing my own message

<p-fileUpload name="images[]" invalidFileSizeMessageSummary="invalidImageFileSizeMessageSummary" multiple="multiple"
                      maxFileSize="10"> 

                      </p-fileUpload>                                       
                      {{invalidImageFileSizeMessageSummary}}  

It should set the invalidImageFileSizeMessageSummary property ?

Most helpful comment

basically I want to be able to show the message where I want it to be - not hardcoded inside the fileupload control

All 2 comments

basically I want to be able to show the message where I want it to be - not hardcoded inside the fileupload control

No it doesn't work like that, it is not a variable. We'll consider exposing this if there is more demand.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mitosandov picture mitosandov  路  3Comments

markgoho picture markgoho  路  3Comments

pchristou picture pchristou  路  3Comments

papiroca-tm picture papiroca-tm  路  3Comments

just-paja picture just-paja  路  3Comments