diff --git a/src/recovery.html b/src/recovery.html index bc41296..0e3bfef 100644 --- a/src/recovery.html +++ b/src/recovery.html @@ -8,10 +8,10 @@
- - +

@@ -28,7 +28,15 @@ alert('Not implemented yet'); } - + function selectField(){ + const field = document.getElementById('options').value; + const inputEl = document.getElementById('value'); + if(field === "email"){ + inputEl.type = 'email'; + } else { + inputEl.type = 'text'; + } + }