gdombiak / OctoPod

Free open source client for OctoPrint
Apache License 2.0
227 stars 42 forks source link

Unable to save printer detalis #517

Closed 3DStyle closed 2 years ago

3DStyle commented 2 years ago

Hello, I try to edit a printer detalis (I need to chagne its IP address) and I can't click on the "Save" button - it's grayed out. Under hostname section, it says "Enter a valid URL", altough the URL is correct.

IMG_1797

I tried to delete the app and reinstalled, didn't help.

gdombiak commented 2 years ago

Hmm, I wonder why it says that URL is not valid. Does it have an empty space at the end? I will try it locally and see if I can reproduce it

gdombiak commented 2 years ago

ok. I was able to reproduce it by doing the following:

  1. Enter an invalid URL
  2. Click on Scan and select an octoprint instance
  3. Even though URL is completed .... message of invalid URL remains

If you tap on the URL and then tap on the printer name or API key or any other field it will remove the invalid URL message and will enable the button. I will fix this for the next release.

Thanks for reporting this issue. Gaston

3DStyle commented 1 year ago

Hello, Did this issue got fixed? I’m still having this bug on v3.23 (build 1).