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

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
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,

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
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  :(