Primeng: Add required property to AutoComplete, Spinner and InputMask

Created on 24 Jul 2017  路  3Comments  路  Source: primefaces/primeng

I'm submitting a ... (check one with "x")

[x] feature request 

What is the motivation / use case for changing the behavior?
Looking at the documentation on PrimeNG site, it appears that p-dropdown has a "required" property, but the autocomplete does not. It seems highly important that required also be a property of autocomplete because it something that would be used in forms. In my case, I have in several places autocompletes inside table cells that I would like to set to required and use angulars built in validation classes to style them.

  • Angular version: 4.3.1

  • PrimeNG version: 4.1.1

defect

Most helpful comment

I would like this as well!

All 3 comments

Please, this is very important!

Is there any workaround way to do this until the feature is added? Its very important in our application as we have several autocompletes that need a required attribute.

I would like this as well!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mitosandov picture mitosandov  路  3Comments

SchneMa picture SchneMa  路  3Comments

papiroca-tm picture papiroca-tm  路  3Comments

markgoho picture markgoho  路  3Comments

philly-vanilly picture philly-vanilly  路  3Comments