From Component Images/future features

Hi,

We are currently experimenting with the form component and trying to decide whether to use it, or spend the time creating a similar project ourselves. It seems there's currently a few features that would limit the useability of it.

  1. Being able to embed images into the form, for forms such as product quality checks it would be a requirement.
  2. The visibleWhen only being a comparison to equality rather than being able to say greater than when it's a numberic field
  3. Image upload field would be great

All issues we could work around, we could display images alongside the form and number them, and we could have a user toggle a check box to say if something is out of range rather than doing the check ourselves using the visibileWhen property. For image upload we can have the upload component outside of the form and tag it to the form.

We'd love to use the component since it handles alot itself and would create a nice standardised format, but if there aren't any planned features in the immediate future we may be better off looking to go the custom route, as the above work arounds feel a bit hacky/sub optimal for long term use.

Thanks for the work on it so far, it has alot of potential

Keep in mind that a key goal of the form component is support for offline data collection. The features you are requesting are difficult (impossible?) to support in offline mode. Offline mode requires everything to be declarative--no bindings or scripts (those run in the gateway).

Yeah good point, perhaps I am attempting to use it beyond it's intended purpose and moving forward with the hacky work arounds might just cause more issues than it helps. Definitely some food for thought.