pablo-abc / felte

An extensible form library for Svelte, Solid and React
https://felte.dev
MIT License
1.01k stars 43 forks source link

I can't use PUT on form method #298

Open jmaister opened 3 months ago

jmaister commented 3 months ago

Describe the bug

I am creating a form component that would allow to create new user or update. For the form method, I do a ternary expression to select POST or PUT, depending on the action and it does not work.

The form method only allows "post", "get" or "dialog", which is odd only those ones.

imagen

imagen

imagen

Which package/s are you using?

@felte/solid (SolidJS)

Environment

To reproduce

Create a form, use "put" on the method.

Small reproduction example

No response

Screenshots

No response

Additional context

No response