You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] If we give "<input data-gjs-type="myInput" type="text" required/>" this html string to setComponents, it sets it like "<input data-gjs-type="myInput" type="text" required=""/>" in code manager
#2844
Closed
akashdesale98 opened this issue
Jun 20, 2020
· 1 comment
editor.setComponents("html stiring"), method which takes html string as an input and sets that code in the html section in the Code Manager
if we pass ,<input data-gjs-type="myInput" type="text" required/>" to editor.setComponents,
then its output will be "<input data-gjs-type="myInput" type="text" required=""/>
If you see setComponents is adding extra strings to required tag , it happens with every single attribute like autofocus, disabled and all othe single boolean tags?
is there any way to avoid this?
The text was updated successfully, but these errors were encountered:
editor.setComponents("html stiring"), method which takes html string as an input and sets that code in the html section in the Code Manager
if we pass ,<input data-gjs-type="myInput" type="text" required/>" to editor.setComponents,
then its output will be "<input data-gjs-type="myInput" type="text" required=""/>
If you see setComponents is adding extra strings to required tag , it happens with every single attribute like autofocus, disabled and all othe single boolean tags?
is there any way to avoid this?
The text was updated successfully, but these errors were encountered: