Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

Form Repeater issue when add []


Hey,

i am using this version (metronic_html_v8.1.8_demo53) and i have an issue with the form repeater.

When i add [] behind the input name (name="user[]") i get this Error Message:


formrepeater.bundle.js:1 Uncaught TypeError: Cannot read properties of null (reading "1")
at HTMLInputElement.<anonymous> (formrepeater.bundle.js:1:9959)
at Function.each (plugins.bundle.js:14:3003)
at _.fn.init.each (plugins.bundle.js:14:1482)
at d (formrepeater.bundle.js:1:9884)
at $.each.m (formrepeater.bundle.js:1:10601)
at v (formrepeater.bundle.js:1:10669)
at HTMLAnchorElement.<anonymous> (formrepeater.bundle.js:1:10819)
at HTMLAnchorElement.dispatch (plugins.bundle.js:25:39199)
at g.handle (plugins.bundle.js:25:37194)


Thanks

Dennis


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

Please note that the form repeater constructs a special form input structure to send an array of form inputs. For more info please check this docs page.

Regards.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(