[Gambas-user] Error with selecting WebRadioButton on form load
    Safiur Rahman 
    isafiur at gmail.com
       
    Sun May  7 06:36:14 CEST 2023
    
    
  
Hi
I am getting error when I try to select WebRadioButton on form load of a
Run form in gb.web.gui version 3.18.2
The error in console is:
caught TypeError: Cannot set properties of null (setting 'checked')
    at eval (eval at answer (lib:0.0.1.js:288:11), <anonymous>:1:32)
    at Object.answer (lib:0.0.1.js:288:11)
    at xhr.onreadystatechange (lib:0.0.1.js:340:50)
Dim xx As String
 xx = Class1()
''---------Class1-----------------
Static Public Sub _call() As String
  Return Webform2.Run()
End
''----------Webform2 ---------------
Private $sValue As String
Public Sub Run() As String
  rbformA.Value = True
  If Me.ShowModal() Then Return $sValue
End
It was working fine till 3.18.1
Attached a sample to reproduce the error
-- 
Regards
Safiur Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230507/23ec2657/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ss.zip
Type: application/zip
Size: 16894 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230507/23ec2657/attachment-0001.zip>
    
    
More information about the User
mailing list