Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update useForm hook #1850

Closed
RVitaly1978 opened this issue May 24, 2022 · 0 comments · Fixed by #1851
Closed

Update useForm hook #1850

RVitaly1978 opened this issue May 24, 2022 · 0 comments · Fixed by #1851
Assignees
Labels
feature Something useful to end user

Comments

@RVitaly1978
Copy link
Member

Now we have:

const { createComputedClass } = useForm(props)
const classes = createComputedClass('va-some-component')

we want something like this

const { classes } = useForm(props, 'va-some-component')
@RVitaly1978 RVitaly1978 added the feature Something useful to end user label May 24, 2022
@RVitaly1978 RVitaly1978 self-assigned this May 25, 2022
RVitaly1978 added a commit that referenced this issue Jun 1, 2022
* fix: update useForm

* fix: spec

* fix: update components that use the useForm

* fix: review suggestions

* minor fix va-radio example in docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something useful to end user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant