Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

CSS is lost when including <form> tag


Good afternoon, I am using demo 17 within visual studio but when adding a tag <form id="xx" runat="server">
then I load the page and I see that the styles have been lost what can I do to solve this since I see in the development tools it indicates errors plugins.bundle.js:64 Uncaught TypeError: Cannot read properties of null (reading 'classList')
at plugins.bundle.js:64:159273
at Array.forEach (<anonymous>)
at plugins.bundle.js:64:159250
at plugins.bundle.js:64:159390
at Array.forEach (<anonymous>)
at z (plugins.bundle.js:64:159195)
at f.value (plugins.bundle.js:64:164900)
at f.value (plugins.bundle.js:64:186288)
at e.value (plugins.bundle.js:64:138313)
at plugins.bundle.js:64:183321


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi Fredy,

Do you use our Asp.net core Starterkit or it is your own customization?

Also could you please describe how you are including your style file?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(