Perspective custom property type inferring

As I can understand, when I add a custom property to a Perspective component, Ignition will infer the property data type from the value I assign.
Sometimes I would like to let Ignition know what I mean. Next some examples:

  • if I write 2023-03-06, I'd like it to be a date rather then a string so that the property shows up with the calendar icon
    image
  • if I write 20230306, I'd like it to be a string rather then a number:
    image

I cannot seem to find any way to force Ignition perspective property type definition, other then a button in my view which I click in preview mode to set the custom property to the value and type I want.
Any suggestion?

Thanks, regards

2 Likes

At some point, we're planning to add the ability for you to define your own 'schema' for custom properties and view parameters; until then, your workaround is probably the best option.

Thanks @PGriffith for your help.
Regards

Any news on this?

Running into this same issue, but with bool. 0/1 is defined as int, True/False as string.

Try true or false instead.

2 Likes