diff --git a/src/openforms/js/components/admin/form_design/registrations/json/fields/RelativeAPIEndpoint.js b/src/openforms/js/components/admin/form_design/registrations/json/fields/RelativeAPIEndpoint.js index 66ea4a3c1b..d69485c149 100644 --- a/src/openforms/js/components/admin/form_design/registrations/json/fields/RelativeAPIEndpoint.js +++ b/src/openforms/js/components/admin/form_design/registrations/json/fields/RelativeAPIEndpoint.js @@ -8,7 +8,6 @@ import {TextInput} from 'components/admin/forms/Inputs'; const RelativeAPIEndpoint = () => { - // TODO-4098: is this the serializer name? const [fieldProps] = useField('relativeApiEndpoint'); return ( diff --git a/src/openforms/registrations/contrib/json/config.py b/src/openforms/registrations/contrib/json/config.py index 581c72ea35..8b309be3d7 100644 --- a/src/openforms/registrations/contrib/json/config.py +++ b/src/openforms/registrations/contrib/json/config.py @@ -9,21 +9,17 @@ class JSONOptionsSerializer(JsonSchemaSerializerMixin, serializers.Serializer): - # TODO-4098: is service enough, or do we need an API group like the ObjectsAPI? service = PrimaryKeyRelatedAsChoicesField( queryset=Service.objects.all(), label=_("Service"), help_text=_("Which service to use."), ) - # TODO-4098: show the complete API endpoint as a (tooltip) hint after user entry? + # TODO-4098: show the complete API endpoint as a (tooltip) hint after user entry? Might be a front-end thing... relative_api_endpoint = serializers.CharField( max_length=255, label=_("Relative API endpoint"), help_text=_("The API endpoint to send the data to (relative to the service API root)."), ) - # TODO-4098: should be linked to the checkboxes in the form variable table - # TODO-4098: is it possible to have a choices field of variable keys, where you can select them - # from a drop-down list? form_variables = serializers.ListField( child=FormioVariableKeyField(max_length=50), label=_("Form variable key list"),