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

fix(ui): add default value for Slider #683

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

madeindjs
Copy link
Collaborator

The default value for useFormValueBroker is an empty string. This make some incompatibilities with components that expect a different type of value and produces props warning.

So I added a params defaultValue to useFormValueBroker to specifiy the default value when it's needed.

The default value for `useFormValueBroker` is an empty string. This make
some incompatibilities with components that expect a different type of
value and produces props warning.

So I added a params `defaultValue` to `useFormValueBroker` to specifiy
the default value when it's needed.
@madeindjs madeindjs self-assigned this Dec 9, 2024
@madeindjs madeindjs marked this pull request as ready for review December 9, 2024 16:31
@ramedina86
Copy link
Collaborator

Great thinking, this is the way 💪🏻

@ramedina86 ramedina86 merged commit 3364f5e into writer:dev Dec 10, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants