Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Input fields for configuration disappear after creating a sensor and reopening the modal window #191

Open
GGalya1 opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@GGalya1
Copy link
Contributor

GGalya1 commented Jan 29, 2025

What is the expected behavior?

After creating a sensor, you can open the sensor creation panel again and add a new sensor without any obstacles. That is, all the required fields for adding a sensor are present

What is the actual behavior?

Image

When selecting a specific sensor type, configuration fields appear in the form. If these fields are filled and a sensor of this type is created, the sensor is successfully saved. However, when reopening the sensor creation modal, all configuration fields disappear. The fields reappear only if the sensor type is switched to another type and then switched back.

Relevant log output

Relevant logs...

What did you try?

nothing for now

What is your environment?

I'm running the code with...

How can we reproduce the bug?

  1. Open the sensor creation modal.
  2. Select a specific sensor type (e.g., "GPIB" or "Tinkerforge").
  3. Fill in the configuration fields and create a sensor.
  4. Reopen the sensor creation modal.
  5. Observe that the configuration fields are missing.
  6. Switch to a different sensor type and then switch back to the original type.
  7. Notice that the configuration fields reappear.
@GGalya1 GGalya1 added the bug Something isn't working label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant