toniebox-reverse-engineering / teddycloud_web

A better web interface for TeddyCloud
https://github.com/toniebox-reverse-engineering/teddycloud/
16 stars 7 forks source link

Edit Settings - Textinput triggers writeconfig after each key hit #23

Open henryk86 opened 4 months ago

henryk86 commented 4 months ago

Currenlty each keyhit in a settings textinput (numberinput) triggers the triggerWriteConfig function. This should be changed, if possible, it should only be triggered if user has finished with his input.

If you type fast, this lets crash your teddycloud / destroys the config.overlay.ini in toniebox mgmt settings.

henryk86 commented 3 months ago

This should be solved asap. If you change a directory setting. It creates a folder with each key hitting.

IMG_0426

henryk86 commented 3 months ago

As a intermediate solution the textinput got a save button. Instead of firing the api with every key , user must now save this type of inputfield manually.