NPellet / visualizer

Other
42 stars 24 forks source link

In-place twig form edition and radio buttons #1054

Closed lpatiny closed 7 years ago

lpatiny commented 7 years ago

The values from radio button are saved correctly but not loaded in a new form (in this case a copy)

https://my.cheminfo.org/?viewURL=https%3A%2F%2Fmydb.cheminfo.org%2Fdb%2Fvisualizer%2Fentry%2F3445a3018824eb277e67425eb9bb0186%2Fview.json&v=v2.81.2

stropitek commented 7 years ago

For me the view works as expected.

Maybe you want to uncheck the "Keep form value if data undefined" option?

stropitek commented 7 years ago

ahhh I think I see the problem now

lpatiny commented 7 years ago

I updated the example

https://my.cheminfo.org/?viewURL=https%3A%2F%2Fmydb.cheminfo.org%2Fdb%2Fvisualizer%2Fentry%2F3445a3018824eb277e67425eb9bb0186%2Fview.json&v=HEAD

But now if you click on one radio button on the top, there is a value set for all the radio buttons in the bottom. I guess it is related to my exotic name ???

stropitek commented 7 years ago

I missed something when I did the fix.