-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Documentation: specifying the available parameters and their Syntax #93
Comments
Another related question on the syntax: <%= f.SelectTag({name: "TalkFormatID", options: {"one": 1, "two": 2}, value: 2}) %> produce |
similarly, simple things like:
for disabling an InputTag weren't entirely obvious. |
I copied the literal statement from documentation
I just change the name to what I wanted and It didn't work. I don't know why but this is what I get. I am really sorry but I think documentation is not being updated as frequently as the library itself.
|
However
works just fine. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days. |
The tag library is very powerful.
Also some of the parameters you can pass to the tags are not explained in the docs.
It would be nice to explain :
Lots of parameters exist in the underlying HTML values. But can we override them all ??? Is it limited to a subset?
For example an useful example forwarded by Antonio:
<%= f.TextAreaTag("Description", {hide_label: true, "onfocusout": "validate()"}) %>
The text was updated successfully, but these errors were encountered: