I'm using a legacy SQL table for a data source where there are single character columns used to store boolean values as "Y" or "N". I'd like to define a value map in the data source to convert them to/from a true boolean so they can be displayed as a checkbox, but I'm not sure how. I tried this based on what I saw in another post and it does render the field as a checkbox in my DynamicForm but I'm getting a validation error that says "Must be a true false value" when submitting the form.
Code:
<field name="InStore" type="boolean" title="In Store" detail="true"> <valueMap> <true>Y</true> <false>N</false> </valueMap>
Comment