UI: kategória sa zadáva ako číslo („kategória ID“) namiesto výberu z kategórií zoznamu #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Formulár má voľné textové pole
kategória ID— používateľ musí poznať číselné ID. Kategórie pritom patria konkrétnemu zoznamu (S.03).Návrh opravy:
GET /api/lists/{id}/categoriesvmain.go,categories()vweb/src/api.js, vApp.jsx<select>s kategóriami zvoleného zoznamu.Opravené v
5ec2fa1:lists.Categories(listID)+GET /api/lists/{id}/categoriesvmain.go(číta aj čitateľ),api.categories(id)a<select>vApp.jsx. Keď zoznam nemá kategórie, ponúkne sa odkaz „pridaj kategóriu“.