ontodev/nanobot.rs

The form is reset after `Validade` when using a custom form

Closed this issue · 5 comments

When using a custom form, the form is changed to the default after pressing the' Validate' button.

Sorry, I can't replicate this. I also tried it on your DROID instance for a table using "ols_form", and "Validate" took me back to "ols_form". Can you show me on a call, or something?

The address is the same, but the elements in the form change. For example, the autocomplete is gone.

The form before clicking on Validate. Note the message "Search for ontology entity" is where the autocomplete is present.

Screenshot 2024-03-20 at 09 04 23

The form after. The message is gone and all other modifications (route field was read-only)

Screenshot 2024-03-20 at 09 10 36

Ok, I can replicate this, but only when adding a row, not when editing an existing row. I'll look into it.

When editing a row, I removed the route_label, and I could see the "Search for ontology entity", but after clicking on Validate, the route is no longer read-only and no autocomplete.

Screenshot 2024-03-20 at 17 24 22

I got very confused trying to reproduce this. You were right. I think I fixed it in #81. I plan to release new binaries later today, so you can try it out.