vaadin / hilla

Build better business applications, faster. No more juggling REST endpoints or deciphering GraphQL queries. Hilla seamlessly connects Spring Boot and React to accelerate application development.
https://hilla.dev
Apache License 2.0
899 stars 56 forks source link

React Form Binder: the submitting property missing in the BinderNodeControls type #1164

Closed taefi closed 9 months ago

taefi commented 1 year ago

Description of the bug

While evaluating the React Form Binder, it seems that the submitting property missing in the BinderNodeControls type.

Minimal reproducible example

Simply, the following won't compile:

const { submitting } = useBinder(EntityModel);

Expected behavior

To have the submitting property available in the Binder similar to the Lit Binder API.

Inmoresentum commented 10 months ago

Please fix it already :( Also untill this bug is fixed please consider updating the doc as well.

const { submitting } = useBinder(EntityModel);