Label.value (bootstrap 4) not working


#1

Not doing anything exciting - but having trouble getting label.value to show. The debugger shows that Label1.value has the correct value, but it isn’t displaying. Any ideas? This is in a project with several forms.


#2

Have you tried Label.text?
https://wiki.nsbasic.com/Label


#3

That’s what I ended up doing - just trying to stay with Bootstrap 4 controls as much as possible.


#4

I’m having another wonkey problem - simple code with a Bootstrap 4 button and input control.

btnSubmit.onclick=function(){
alert(typeof(inptWord.value))

The alert shows “undefined” even though something was typed into the box (some letters). Could this be associated with the update I did this week?


#5

I just made a short project with your code in it. It worked perfectly.

Check inptWord - is it defined as you think?


#6

Bootstrap 4 Label now supports Label.text as well (in 7.3.0.2)


#7

Thanks George

Cindy