Low Variables Wide Field
I have a field type that really needs to be wide and not contained within a half column. For the current version of my fieldtype, in Low Variables I’m sort of hacking it with Javascript by getting my field type’s parent 'setting-field' class and removing the 'w-8' class and adding the 'w-16' class so that the field will be as wide as the entire Low Variables container. In a channel entry, you can save the field settings with 'field_wide' set to true and it will be as wide as the entry body. Is there something similar I can do in Low Variables so I’m not "hacking" anything with Javascript?
Replies
Low 20 Dec 2016 08:06
Undocumented at the moment, but you should be able to use a
var_wide()
method in your fieldtype which returns a true or false depending on what you need.TJ Draper 20 Dec 2016 15:42
Perfect!