<p-spinner> not allowing minus/subtraction char at start
I'm submitting a ...
[*] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
Current behavior
Have gotten a little problem on my hands. I can't seem to figure out how to allow for my
Could there be that the issue is actually is with the FormControl for the component, or is there something in my
<p-spinner
formControlName="AmountFormControl"
class="inputTextStyle"
pattern="^-?[0-9]*\,?[0-9]+$"
[thousandSeparator]="swedishLocaleConfigurationService.swedishThousandSeparator()"
[decimalSeparator]="swedishLocaleConfigurationService.swedishDecimalCharacter()">
</p-spinner>
There doesn't seem to matter which versions I use of any of the languages or/and frameworks and libraries.
Expected behavior Would be nice if it would work.
Minimal reproduction of the problem with instructions I have tried but it seems to be application specific.
What is the motivation / use case for changing the behavior? Otherwise I cant meet the demands that we have for the application.
Please tell us about your environment:
-
Angular version: 5.X 5.2.9
-
PrimeNG version: 5.X 5.2.4
-
Browser: Chrome 65.0.3325.181 (Official Build) (64-bit)
-
Language: TypeScript 2.8.1
I'm unable to replicate with the latest PrimeNG. If the issue still persists with the new version please create a new issue with our stackblitz template.