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 Values.md documentation #705

Merged
merged 5 commits into from
Jul 22, 2023
Merged

Conversation

tellodaniel
Copy link
Contributor

Updates: https://stimulus.hotwired.dev/reference/values

This PR aims to improve clarity for newcomers regarding the usage of the value data attribute. It emphasizes that the value data attribute should be defined in the same location as the controller. This clarification can help prevent unnecessary debugging efforts, as it took me around 15 minutes to resolve this issue personally.

Adds a note about value data attribute definition. Makes it clear that it should be only defined in the same place as the controller.
docs/reference/values.md Outdated Show resolved Hide resolved
tellodaniel and others added 2 commits July 19, 2023 15:55
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
docs/reference/values.md Outdated Show resolved Hide resolved
tellodaniel and others added 2 commits July 20, 2023 11:26
Improve text to make it more clear
@marcoroth marcoroth merged commit 7b810ec into hotwired:main Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants