Skip to content

Support function at the form action prop #892

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions