Skip to content
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

Support has-error and is-error classes on checkboxes #246

Closed
resurtm opened this issue Aug 1, 2017 · 1 comment
Closed

Support has-error and is-error classes on checkboxes #246

resurtm opened this issue Aug 1, 2017 · 1 comment
Projects

Comments

@resurtm
Copy link

resurtm commented Aug 1, 2017

Hello!

Shouldn't checkboxes also support has-error and is-error classes? For example:

<div class="form-group has-error">
	<label class="form-checkbox">
		  <input type="checkbox"/>
		  <i class="form-icon"></i>
		  I confirm agreement with <a href="#">Terms of Services</a>
	</label>
</div>

image

The result checkbox should somehow have error state.

Cheers!

@picturepan2 picturepan2 added this to In Progress in v0.2.15 Aug 2, 2017
@picturepan2 picturepan2 moved this from In Progress to Done in v0.2.15 Aug 3, 2017
@picturepan2 picturepan2 mentioned this issue Aug 15, 2017
@picturepan2
Copy link
Owner

@resurtm Version 0.2.19 is released. Error and success states have been added to checkbox, radio and switch. https://picturepan2.github.io/spectre/elements.html#forms

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

No branches or pull requests

2 participants