Updating the units of number fields in grapes js Style manager. #5447
Unanswered
FahemAhmad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey !
I was following this grapes js -react example that @artf created.
i have a custom input field for number fields like padding, margin etc and i am unable to figure out how to change the unit of the property, For example if i have set padding 16px, i should be able to switch to rem and it should change the value to 1rem. Is there a function to update the attributes/properties ?
My code till now :
Beta Was this translation helpful? Give feedback.
All reactions