Read-only not working primeng inputNumber

Viewed 29

I want to make primeng InputNumber read-only.
I followed the documentation and I added [readonly]="true" to my input but unfortunately it does nothing, I can still edit my input.

Documentation:

http://primefaces.org/primeng/inputnumber

enter image description here

This is my code:

enter image description here

I already tried writing "readOnly" instead of "readonly" but still not working.

1 Answers

Which primeng version are you using? This should have been fixed since 13.0.0 according to changelog

Related