EXOGTN-1785: [Platform-UI] XSS vulnerability in UIForm

Fix description:
- Encode form option