HubSpot / vex

A modern dialog library which is highly configurable and easy to style. #hubspot-open-source
http://github.hubspot.com/vex/docs/welcome
MIT License
6.92k stars 491 forks source link

vex input field sanitizes spaces #272

Open Xesme opened 5 years ago

Xesme commented 5 years ago

I am currently using 4.10 of xex.js with React and I am running into an issue where the vex input sanitizes spaces for loaded string values. Example of code (dialog wont open): Edit 44v0qp2vx

String values with spaces are being sanitized down to the first word. For example: "I'm a long string" will only display "I'm" as the loaded value of the input and that value is being passed through the callback function to update.