Skip to content

main-1744

@andrepestana-aot andrepestana-aot tagged this 08 Feb 20:33
Form.io's show variable evaluates `null` values as `true`:

![image](https://github.com/bcgov/SIMS/assets/78114138/f7b3605c-0ecb-4278-a360-811742b4f206)

Could verify the error happening in DEV and in my local environment:

![image](https://github.com/bcgov/SIMS/assets/78114138/f58bdb13-0330-40db-a0f5-49d3db35d5c1)

Fixed issue doing: 
- Changes to form:
```javascript
show = !!data.entranceRequirements.noneOfTheAboveEntranceRequirements;
```
Assets 2
Loading