Commit 06fea0ff authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Mapped several input type attributes to Text.

parent 8440f826
......@@ -31,6 +31,16 @@ QfqNS.Element = QfqNS.Element || {};
case 'radio':
return new n.Radio($element);
case 'text':
case 'number':
case "email":
case "url":
case "passoword":
case "datetime":
case "datetime-local":
case "date":
case "month":
case "time":
case "week":
return new n.Text($element);
default:
throw new Error("Don't know how to handle <input> of type '" + type + "'");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment