angular-ui/ui-grid

rowedit saverow ignoring whitespaces both at the leading and trailing

Open

#6,822 opened on Aug 3, 2018

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (2,496 forks)batch import
good first issueneeds: analysis

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi, I am using saverow feature of rowEdit inside ui-grid. There is a requirement for us to support blank values, whitespaces at the begining and trailing but UIgrid saw row removes the whitespace before sending value to save row. I tried adding the css whitespace:pre. Is there anything I am missing ?

Contributor guide