We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
=editable current_pack, :description , url: users_mod_pack_path(current_pack), placeholder: "Click to edit a description"
i would expect to read that text, instead it comes "Empty"
"Empty"
The text was updated successfully, but these errors were encountered:
I know that this is a bit late, but placeholder is the value used for input field itself. So after clicking.
You can still use the original options, take a look here http://vitalets.github.io/x-editable/docs.html#editable.
Hence. <td><%= editable customer, :name, url: customer_path(customer), value: customer.name, emptytext: 'my default text' %></td> Should work just fine. :)
<td><%= editable customer, :name, url: customer_path(customer), value: customer.name, emptytext: 'my default text' %></td>
Sorry, something went wrong.
No branches or pull requests
=editable current_pack, :description , url: users_mod_pack_path(current_pack), placeholder: "Click to edit a description"
i would expect to read that text, instead it comes
"Empty"
The text was updated successfully, but these errors were encountered: