I am having trouble with a number (decimal) field that is not validating correctly on my node edit pages. Although the input for a price field is for example "6,00" I am getting the error message "The value in Price has to be divisible by 0.01.". Seems to validate for a float value?!
Is there a way to disable this module on admin pages or specific fields?
Thanks in advance for your help!
Comments
Comment #2
nikunjkotechaHi ABaier, any more details available to help reproduce the issue?
I created a decimal and float field. For decimal we have to provide scale and precision and it works as expected. For "6,00" (with comma) it gives me "Please enter a valid number." message only and not the one specified in description.
Comment #3
abaier commentedThanks for bringing this up again. Since I had this issue quite a while ago and I was not able to reproduce it, I think we can close it as "works as expected".
Comment #4
abaier commentedComment #5
nikunjkotechaThanks @ABaier for quick response :). Inching very close to stable release now. Also, I'll try best to respond back to all issues (for 8.x) as early as possible.
Comment #6
Greenskin85 commentedI got this error a long time ago, and was able to fix it with that https://www.drupal.org/project/drupal/issues/2230909
But now, after installing the clientside_validation_jquery modul, i get this error again (except i uninstall the modul again)
Field for Longitude and Latidude settings:
precision: 14
scale: 8
Throws the error:
The value in Longitude has to be divisible by 0.00000001.
for values like:
58,26736600
8,72369500
5.6
0.1
Comment #7
Greenskin85 commentedComment #8
avpadernoComment #9
nikunjkotechaMoving to Active as there is no patch or PR for review.
Please help with exact steps to reproduce for futher work.
Comment #10
nikunjkotecha