felte icon indicating copy to clipboard operation
felte copied to clipboard

I can't use PUT on form method

Open jmaister opened this issue 1 year ago • 0 comments

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

  • OS: Windows 11
  • Browser: Firefox / Chrome
  • Version: "@felte/solid": "^1.2.13", "solid-js": "^1.8.17",

To reproduce

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

Small reproduction example

No response

Screenshots

No response

Additional context

No response

jmaister avatar Jun 24 '24 16:06 jmaister