grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

add option readonly for InputTrait

Open vinicius-actcon opened this issue 2 years ago • 0 comments

NumberTrait has built in custom "stepper" mecanism cobined with configurations such as [min, max, step] that works pretty well when used isolated, but the user can insert manually values into the input that not respect this configurations, so with this flag we can force to the user use only the "arrows" controls instead of edit the input manually.

Thanks!

vinicius-actcon avatar Jun 02 '22 15:06 vinicius-actcon