As far as I can tell, the "Slots" selector on the UI in unavailable when the node capacity is 0 (or unlimited). I am not sure whether this is a bug or by design, but I do need registrants to be able to select a number of slots for every registration, whether the capacity is 10, 100, or unlimited.

I tried this both with the capacity being drawn from a node field and with it being the native Node Registration field. Same result in both cases.

As a workaround I could set the capacity to some arbitrary high number and let that be how we manage unlimited capacity, but that seems awful.

CommentFileSizeAuthor
#1 node_registration-2320071-1.patch1001 bytesrudiedirkx

Comments

rudiedirkx’s picture

Assigned: emyerson » Unassigned
Status: Active » Needs review
Issue tags: -slots, -capacity, -ui
StatusFileSize
new1001 bytes

That indeed looks like a bug. Try attached patch.

rudiedirkx’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.