-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feature/password reset tweaks #582
Conversation
edcohen08
commented
Jul 20, 2023
•
edited
Loading
edited
@@ -13,7 +13,7 @@ | |||
@focus="updateFlag" @blur="updateFlag" @input="updateFlag" | |||
{% endif %} | |||
x-data="input('update-{{ event_name | replace('_', '-') }}', '{{ value }}')" | |||
x-ref="input_{{ name }}" class="input {{ input_classes }} {{attrs.class}}" {% do attrs.update({"type": type, "name": name, "value": value}) %} {{ attributes(attrs)}} /> | |||
x-ref="input" class="input {{ input_classes }} {{attrs.class}}" {% do attrs.update({"type": type, "name": name, "value": value}) %} {{ attributes(attrs)}} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this breaks if you have mutlple imputs in a form
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as far as i could tell it works and alpinejs/alpine#900 (comment)
@@ -0,0 +1,8 @@ | |||
{% from 'forms/field.jinja' import field as f %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would love to get this using the default form, perhaps means the default form needs to be updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i added back a default.html because it's not deprecated yet so our div.html wasn't being picked up
f832d41
to
8a865cf
Compare