atanisoft / ESP32CommandStation

An ESP32 based DCC Command Station with integrated OpenLCB (LCC) --- NOTE: this project is not under active development.
https://atanisoft.github.io/ESP32CommandStation/
GNU General Public License v3.0
90 stars 34 forks source link

[WebUI] WiFi TX Power value in the Configuration/WiFi is not being pre-selected (also units should be changed to dBm) #65

Closed TrainzLuvr closed 4 years ago

TrainzLuvr commented 4 years ago

Upon entering the WiFi tab, the selected value shows blank for TX Power.

If I pick any value from the drop-down, e.g. 13 dB and Save, the CS reboots and the next time I go back to the WiFi tab, the value is not pre-selected to my previous selection.

Manually loading the JSON via /config URL shows the saved value for tx_power is correct, so the issue appears to be UI.

Also, the displayed units for TX Power should be changed to "dBm".