Skip to content

How to keep help message and inline error with bootstrap form? #284

@vedsingh-fullstack

Description

@vedsingh-fullstack

Hi,
I have used bootstrap nested form like,
<%= bootstrap_nested_form_for(@user) do |f| %>
<%= f.email_field :email,help: 'Hint comes here' %>
<% end %>
When there is error on the page it will replace help span with inline error span. How to keep both help and inline error without using lebel_error and f.alert_message.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions