Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

md-input-container should ignore hidden fields as part of the inputs its counting. #2153

@heavysixer

Description

@heavysixer

I understand the purpose of having only a single visible input per container but this should not apply to hidden fields. Hidden fields are often used to track default parameters and therefore should be logically organized near the visible input. Consider the following example:

<md-input-container class="md-default-theme">
      <input name="account[remember_me]" type="hidden" value="0" class="md-input" id="input_001">
      <input type="checkbox" value="1" name="account[remember_me]" id="account_remember_me">
      <label for="account_remember_me">Remember me</label>
</md-input-container>

Metadata

Metadata

Assignees

Labels

pr: merge readyThis PR is ready for a caretaker to review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions