CanvasInput icon indicating copy to clipboard operation
CanvasInput copied to clipboard

I can't retrieve the input

Open magmdot opened this issue 5 years ago • 1 comments

Hi guys

I want to create an InputCanvas and retrieve the String when the user hits enter.

var input = new CanvasInput({ ... ... value: 'Test', onsubmit: function () {console.log(self.value);} })

gives me "undefined". Please excuse my noob-question...

Marco

magmdot avatar Oct 13 '20 16:10 magmdot

ahhh.. _value does the job.

magmdot avatar Oct 13 '20 18:10 magmdot