In my form i have this element :
$form['poidsMin'] = array(
'#type' => 'number',
'#title' => $this->t('Poids minimum en gramme'),
'#default_value' => $frais_port_entity->get('poidsMin'),
'#description' => $this->t("Poids minimum du produit"),
'#required' => TRUE,
);
When i put 10 or 20, all is good but if i put 10.3 or 10,3 drupal 8 jquery validate tell me to insert a value like 10 or 11 with no comma.
My field in mysql is a float, how can i disable this validation for number type field ?