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

Edit Species modal properties not registering default values properties #70

Open
BrittExe opened this issue Nov 20, 2024 · 0 comments
Open

Comments

@BrittExe
Copy link
Collaborator

When selecting a species to edit it, the modal should have the current data for the species as the default value in each textbox. This works for the name and the description, but the properties do not change properly, and they are instead the values that were put into the modal the last time it was used.

image
For example, here, a user has just selected Nitrogen Dioxide and set the Molecular Weight to 5 and the Fixed Concentration to 2. Note that the Nitric Oxide above has nothing set to its properties.

If Nitic Oxide is edited after this, instead of the intended behavior of the properties being set to their default values (0), the modal retains the 5 and 2 from when Nitrogen Dixoide was edited.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant