Skip to content

Add support of Formtastic::String input_html #53

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

Merged

Conversation

workgena
Copy link
Contributor

[refs #52]

@mantoszew found the bug with range-input:

  • From/To placeholder are missing

This commit aims to fix it.
And also add support of other input_html options to the "f.input date_time_picker".

For example:

form do |f|
  f.input :created_at, as: :date_time_picker, input_html: { placeholder: 'Text here...' }
end

[refs activeadmin-plugins#52]

@mantoszew found the bug with range-input:

- From/To placeholder are missing

This commit aims to fix it.
And also add support of other `input_html` options.

For example:

```ruby
form do |f|
  f.input :created_at, as: :date_time_picker, input_html: { placeholder: 'Text here...' }
end
```
@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 94.982% when pulling e522459 on workgena:improve_input_html_options into 36e27f6 on activeadmin-plugins:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 94.982% when pulling e522459 on workgena:improve_input_html_options into 36e27f6 on activeadmin-plugins:master.

@Cusp2356
Copy link

Please see #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants