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

data-bind quicky #476

Closed
g105b opened this issue Oct 27, 2023 · 0 comments · Fixed by #493
Closed

data-bind quicky #476

g105b opened this issue Oct 27, 2023 · 0 comments · Fixed by #493

Comments

@g105b
Copy link
Member

g105b commented Oct 27, 2023

I like the DRY principal of using data-bind:value="@name" for binding the value of input elements, but I find "@name" is a bit confusing when explaining it to people for the first time ("this binds the value where the key is the value of the current name attribute").

I think it would be easier to have this shorthand by making @ a synonym for @name, as it's so common to bind a value according to the name attrbiute.

g105b added a commit that referenced this issue Apr 25, 2024
g105b added a commit that referenced this issue Apr 26, 2024
* feature: @ bind key synonymous for name
closes #476

* ci: upgrade ci to v4 phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant