Skip to content

Support function at the form action prop #892

@pedrobslisboa

Description

@pedrobslisboa

Description

reason-react form still don't support function on the action prop.

Ideas

  • The prop could accept polivars (with mel.unwrap) instead of only string (BREAKING_CHANGE):
     <form action={`String("/foo")} />
     <form action={`Function((formData) => doSomething(formData))}
  • Create a new prop for it. 🙃 (Not possible)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions