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

Skip to content

Update Values.md documentation#705

Merged
marcoroth merged 5 commits into
hotwired:mainfrom
tellodaniel:patch-1
Jul 22, 2023
Merged

Update Values.md documentation#705
marcoroth merged 5 commits into
hotwired:mainfrom
tellodaniel:patch-1

Conversation

@tellodaniel
Copy link
Copy Markdown
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.
Comment thread docs/reference/values.md Outdated
Comment thread docs/reference/values.md Outdated
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