Skip to content

dash support in name #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

dash support in name #43

wants to merge 1 commit into from

Conversation

alex499
Copy link

@alex499 alex499 commented Nov 10, 2014

No description provided.

@macek
Copy link
Owner

macek commented Nov 10, 2014

Please see Allow dashes in element names.

The functionality you're asking for is clearly defined in the API


Here's a snippet of the API that concerns you

$.extend(FormSerializer.patterns, {
  validate: /^[a-z][a-z0-9_-]*(?:\[(?:\d*|[a-z0-9_]+)\])*$/i,
  key:      /[a-z0-9_-]+|(?=\[\])/gi,
  named:    /^[a-z0-9_-]+$/i
});

@macek macek closed this Nov 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants