Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

pascalbaljet
Copy link
Member

@pascalbaljet pascalbaljet commented Aug 14, 2025

This PR brings the defaults() method to the Form component. It's similar to the implementation in useForm() except that it doesn't support arguments. This would be confusing as you might assume that defaults('name', 'newName') would update the form element itself as well, but this won't trigger any changes in the DOM.

@pascalbaljet pascalbaljet merged commit bbf6ff9 into master Aug 14, 2025
6 checks passed
@pascalbaljet pascalbaljet deleted the form-component-defaults branch August 14, 2025 13:41
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.

1 participant