Why are these input_properties in GPM not working?

The TV is created fine, but no input properties are added.

tvs:
  - name: blog_image
    file: blog_image.tpl
    caption: "Blog Image"
    type: imageplus
    description: "Main image for blog posts"
    category: blog
    input_properties:
      - name: targetWidth
        type: textfield
        value: "1200"
      - name: targetRatio
        type: textfield
        value: "16/9"

Does it work if you use the key inputOptions instead of input_properties?

No it does not sadly.

“TemplateVar: blog_image - inputOptions - 0 has to be string, integer given.”

Ahh this works:

inputOptions:
      { "targetWidth": "1200", "targetRatio": "16/9", "allowBlank": "false" }

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.