Fixes #135: Updated Hidden type to specify tagName #136

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
  • Ensures that the Hidden type uses an input tag instead of a div.
  • Adding tagName seemed more appropriate than extending Text instead of Base.
@paulyoung paulyoung Fixes #135: Updated Hidden type to specify tagName
  * Ensures that the Hidden type uses an input tag instead of a div.
  * Adding tagName seemed more appropriate than extending Text instead of Base.
6b5fbdb
Owner

powmedia commented Oct 12, 2012

The hidden fields don't get rendered at all at the moment; which I want to update for the situation that you're submitting the form via regular form POST, so I'll include this when that work is done.

Collaborator

philfreo commented Nov 14, 2012

Looks like at the moment specifying in the schema { fieldname: 'Hidden' } actually does render it in the DOM (as a div), but that { fieldname: { type: 'Hidden' } } keeps it out altogether.

http://jsfiddle.net/c5QHr/50/

This was referenced Jan 15, 2013

Owner

powmedia commented Jul 16, 2013

Hidden fields are now rendered properly in the latest version on master

powmedia closed this Jul 16, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment