• Resolved darkstar123456

    (@darkstar123456)


    Hello,

    I’m using your plugin for the first time, and I imported the Boostrap Styles.

    I wanted to add my own (.h1 -> .h6, btw it could be a great addition ;-)) but when I try to submit the changes, it says that I have empty field values and so it doesn’t save.

    I suppose that what defines a Group of styles is the fact that they only have name and no other option (tag, class, styles) but still it says that it is not valid ??

    I don’t know if I can post URL in here, but this is a screenshot of the issue : https://i.imgur.com/7Lw3lz4.png

    PS : Sorry for my bad English ^^

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter darkstar123456

    (@darkstar123456)

    From what I see from the code, it seems to used to have a input named “type” to define the type of the row.

    This type is present from json data, but not in the form. So when I submit the form, it uses the type “item” if no type is defined :

    // set default type
     if ( !isset($format['type']) ) {
    	$format['type'] = self::TYPE_ITEM;
     }
    Plugin Author Alex Prokopenko / JustCoded

    (@aprokopenko)

    It seems you should just enable “Type” field on Settings tab. After that all will be fine.
    However I will check the import function. Because it should enable this field automatically.

    Plugin Author Alex Prokopenko / JustCoded

    (@aprokopenko)

    In version 1.2 I added code to automatically enable this setting if it’s not On.

    Please try to upgrade, or you can manually turn it on.

    Thread Starter darkstar123456

    (@darkstar123456)

    Thank you ! It works perfectly now ?? (and the auto enable works as well ^^)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Styles form : validation errors’ is closed to new replies.