bigskysoftware / bigskysoftware/_hyperscript

Current event handlers is not setting or giving the value

Aperta
#616 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
3.8k
Fork
172
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Thank you carson and community

I have multiple select fields to select countries, if the user selects the same country in another select field then I show an alert and then set the value of that select field to default value.

```



Select Country
Afghanistan
Åland Islands
Albania
...


Select Country
Afghanistan
Åland Islands
Albania
...

...


```

I have to use ` document.activeElement` in the above code to set or receive values because set value of me to `'Select Country'` is not working.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia riproducendo l’HTML e l’handler _hyperscript forniti con più selezioni di paesi. Esamina come vengono risolti `set value of me` e `document.activeElement` durante l’evento change. Il lavoro è completato quando l’alert per il paese duplicato continua a essere visualizzato e la selezione interessata viene reimpostata su `Select Country` senza dipendere da `document.activeElement`.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
32/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.