@SarathSantoshDamaraj wrote:
I have an Object that has to be trimmed for white-spaces before updating/assigning with
ember.set
.I know it can be done with using
this.set(/**/).trim()
. But justset()
is not supportingtrim()
. And I have been toldthis.set()
is not a best way than compared to justset()
set(Object, Key, get(key, value))
is how my syntax is.and
get(key,value)
returns a value that has white spaces in it.
Posts: 1
Participants: 1