Open solevis opened 13 years ago
Good catch :-) Comes from the fact that I decided to add categories as a late thought, and obviously I didn't think it through. Patching right now :)
Corrected with your second suggestion (and a redraw). Not very clean though, your first one is better IMO (because it addresses the real problem instead of having a work-around), but probably needs some tweaking and I'm too tired to think about it clearly :) Not closing for that reason.
Hi,
It would be more ergonomic to prevent the utilisation of the button "+" (id moar) when there is no category selected. Currently saladgenerator add an empty select box.
You can check if catnames is empty in create_selector(),
or choose a default category at start.
Best regards, Sylvain