interface FormAddonOptions {
    serialize?: (data: Record<string, unknown>) => BodyInit;
}

Properties

Properties

serialize?: (data: Record<string, unknown>) => BodyInit

serializer for the form data. given the form data it should return the serialized data

URLSearchParams-based serializer

`serialize({ a: 123, b: 'hello' }) => 'a=123&b=hello'`