enketo-core icon indicating copy to clipboard operation
enketo-core copied to clipboard

Support choice styling with markdown / span

Open tinok opened this issue 4 years ago • 1 comments

At the moment, Enketo Express does not support styling choice labels the way that question labels already do. This is supported by ODK Collect.

See the Form styling documentation for Collect and the XLSForm documentation.

tinok avatar Mar 09 '20 14:03 tinok

Thanks. It's good to have an issue for this to refer to.

I am not in favor of resolving this (though technically very easy) because:

  1. It means we'd have to move markdown parsing to the client. The costs in performance will be high. I don't think they outweigh the (I daresay minor) benefit of having this feature.

  2. In order to support it on mobile devices for select_multiple/select_one with minimal, we'd have to move away from native HTML <select> elements, which I think will be a deterioration in mobile usability of these question types. Excluding those would be tough to explain because the same form would be different on non-touchscreen and touchscreen devices.

MartijnR avatar Mar 09 '20 19:03 MartijnR