Skip to content

Conversation

@Paulus90
Copy link

@Paulus90 Paulus90 commented May 3, 2017

  • Placeholder now hidden when no 'label-' position is defined and input field has focus

Extra changes

  • Added class 'placeholder' to be used for input placeholders (instead of styling label[for])
    When this is approved, the examples need to be updated with this new class
  • Styling for 'label-above' was not defined within class, but rather applied as a fallback. Now added this specific styling to specific 'label-above' class.

- Upgraded castlecss-core to 2.4.0
- Updated the contributors
Copy link
Member

@dariusrosendahl dariusrosendahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a discussion with the team and we're deciding to implement the change and make it a new major version because the class 'placeholder' will be breaking. Unfortunate, but necessary. There can be more then 1 label[for] within a form-field.

@dariusrosendahl dariusrosendahl merged commit 1ca5f54 into develop Jul 5, 2017
@dariusrosendahl dariusrosendahl deleted the feature/#6_Default_label_not_working_in_version_1.0.7 branch July 5, 2017 10:45
@dariusrosendahl dariusrosendahl changed the title Feature/#6 default label not working in version 1.0.7 Feature/default label not working in version 1.0.7 Jul 5, 2017
@dariusrosendahl dariusrosendahl restored the feature/#6_Default_label_not_working_in_version_1.0.7 branch September 5, 2017 09:04
@dariusrosendahl dariusrosendahl deleted the feature/#6_Default_label_not_working_in_version_1.0.7 branch September 22, 2017 12:36
Paulus90 pushed a commit that referenced this pull request Mar 19, 2018
…ylerules in place only apply to 'placeholder' labels in input fields (not radio/checkbox labels). It broke radiobuttons/checkboxes when their labels contained a [for] attribute

- Bear in mind: this fix should be temporary due to an upcoming fix in forms version 2.0 (issue #14)
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.

4 participants