-
Notifications
You must be signed in to change notification settings - Fork 18
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
Auto-generate IDs for labels, and add for attribute #12
Comments
Agreed, I'll look at this tomorrow! |
Any thoughts on what the API for this should look like? As it stands the signature for an {{fm-field label='First Name' value=model.firstName errors=model.errors.firstName}} It would be nice to avoid a situation where the user needs to manually provide an Does that sound reasonable? |
@Emerson, if the generated label is the But that brings me to another problem #8, and problems with the API in general. I would prefer a more "magic" API, wherein no
Currently, my needs are such that I would expect to be able to customize the output to be something like this:
Notice how |
Hmmm, I can see definitely see the use case here. Let me address the |
We need the
for
attribute on every label, corresponding to theid
of theinput
element.Not observable on the dummy app, and should be there.
The text was updated successfully, but these errors were encountered: