Blueprint adds default value when using textarea input
davoclavo opened this issue · 1 comments
davoclavo commented
When using textarea the blueprint sets a default value of " "
(8 spaces) to it. This happens because the fields_for
renders the form with "\n"
characters, when they are added as attributes to the html entity (as data-blueprint
), it gets changed to spaces (at least in Chrome)
I made this proof of concept on how to fix it, but I don't know if there is a more elegant way of doing it:
davoclavo@ad828ed
prinum commented
👍