ios doesn't show up minus sign for decimal keypad.
Question

We have specific requirement to feed the input value  as +ve and -ve numbers with decimal in our mobile App.

The iPhone doesn't show up the minus sign even after for the following attributes are set .

Myinput.setAttribute("decimal","true");

Myinput.setAttribute("inputmode","decimal");

Myinput.setAttribute("decimal-char",".");

Myinput.setAttribute("pattern","[0-9]*");

This is the default behavior ios ,  is there any work around or any custom plugin to resolve this issue other than making as a "Text" field ?.

The similar custom implementation code is available for "xamarin". https://github.com/xamarin/Xamarin.Forms/issues/6580



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.