Skip to content

Version 7.44.0-next.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@bluebill1049 bluebill1049 released this 16 Feb 22:57
· 219 commits to master since this release

📄 Form Component update

  • added support for custom fetcher
// axios
<Form 
  action="/api" 
  method="post"
  fetcher={(action, { values }) => axios(action, values)}
/>

// SWR, Tan Query
<Form 
  action="/api" 
  method="post"
  fetcher={(action, { values }) => mutation(action)}
/>
  • server error no longer set custom error

Beta documenation: http://localhost:8000/api/useform/form

🗑️ remove JSX message check (#9921)