Open kenkendk opened 2 weeks ago
It should just be sent as an enumeration with ValidValues
from the backend that way it's handled correctly in the frontend automagically 👍
The challenge here is that it is not an enumeration. It is a free-text field. The WebModule returns a dictionary with (label, key) pairs for the most common options.
Then we should maybe have a "suggested options" kind of field so we can feed in the data in the same way
The fields "location" and "storage class" are strings, but there are a a number of presets available:
The presets are part of the option's list of possible values. The user should be able to type a custom string, or pick one of the values.
Here is the previous UI for inspiration: