project-flogo / flogo-web

Project Flogo Web UI
http://flogo.io
BSD 3-Clause "New" or "Revised" License
65 stars 36 forks source link

fix: validate json value correct in mapper #1347

Closed ppaidi closed 3 years ago

ppaidi commented 3 years ago

Description

Mapper input is not validating the JSON value correct, it's treating the empty array([]) value as invalid. As soon as I type empty array as value to any key, input field becomes invalid and the save button grays out.

How has this been tested?

Manually

Types of changes

Checklist:

fcastill commented 3 years ago

This also fixes #1066