Skip to content
Snippets Groups Projects
Commit 303c0b11 authored by DAI Julien's avatar DAI Julien
Browse files

Merge branch 'change' into 'main'

default value into placeholder formulaire.tsx

See merge request !5
parents 6c8ab9cb c4b94987
No related branches found
No related tags found
1 merge request!5default value into placeholder formulaire.tsx
Pipeline #19851 passed
...@@ -19,7 +19,7 @@ const Formulaire = ({ selection }: FormulaireProps) => { ...@@ -19,7 +19,7 @@ const Formulaire = ({ selection }: FormulaireProps) => {
<Form.Label>Latitude</Form.Label> <Form.Label>Latitude</Form.Label>
<Form.Control <Form.Control
type="text" type="text"
defaultValue="47,264" placeholder="47,264"
pattern="-?\d+(,\d+)?(\.\d+)?" pattern="-?\d+(,\d+)?(\.\d+)?"
step="any" step="any"
required required
...@@ -33,7 +33,7 @@ const Formulaire = ({ selection }: FormulaireProps) => { ...@@ -33,7 +33,7 @@ const Formulaire = ({ selection }: FormulaireProps) => {
<Form.Label>Longitude</Form.Label> <Form.Label>Longitude</Form.Label>
<Form.Control <Form.Control
type="text" type="text"
defaultValue="-1,585" placeholder="-1,585"
pattern="-?\d+(,\d+)?(\.\d+)?" pattern="-?\d+(,\d+)?(\.\d+)?"
step="any" step="any"
required required
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment