amsul / amsul/pickadate.js

Reasonable use of _hidden

Aberta
#760 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
7.6k
Forks
981
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

The context is a mvc application which uses unobtrousive validation.

Using a custom format submit the value (and the name of the input) is moved to the hidden input.

This behaviour breaks the validations, so 2 changes to the hidden field are needed:

1) copy all the data-val information to the hidden input
2) attach a class to the hidden input that could be used as selector to remove the hidden field from the ignore list of jquery validator

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.