Module is not providing a widget for existing boolean entity (node) fields within edit forms.

Permissions are fine.

Comments

doublejosh’s picture

Title: Boolean field widet not available » Boolean field widet not available on edit forms
Issue summary: View changes
alexweber’s picture

Hi, iToggle only provides a field formatter for boolean fields, not a widget. This formatter is provided by the iToggle Field sub-module..

alexweber’s picture

Category: Bug report » Support request
Status: Active » Fixed

Please feel free to re-open this if you have any more questions. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

doublejosh’s picture

Status: Closed (fixed) » Active
doublejosh’s picture

The problem is that EXISTING boolean fields cannot use this widget type.

Fundamentally there should not be a different field type for this, it should only be a widget for boolean fields. It's a needless restriction that causes module lock in.

doublejosh’s picture

Priority: Normal » Major
alexweber’s picture

@doublejosh you're totally right dude. The truth is that this module is in an awkward place at the moment!

I've learnt a lot since I first wrote it and the only way to truly "fix" it would be to re-write the entire thing. Not that it's terrible (although it does do some things terribly), but it was just built wrong from the ground up...

At this point though, I have no time and hardly anyone uses it, plus Drupal 8 around the corner so, yeah, I probably won't be committing anything other than patches to it :)

Sorry!

PS - https://drupal.org/project/toggle