Commit 2f75b0da authored by Yohan Boniface's avatar Yohan Boniface
Browse files

Pass builder option to field

parent fd9eae4c
......@@ -47,6 +47,7 @@ L.FormBuilder = L.Class.extend({
} else {
options = this.defaultOptions[this.getName(field)] || {};
}
options = L.extend({}, this.options, options);
type = options.handler || 'Input';
if (typeof type === "string" && L.FormBuilder[type]) {
helper = new L.FormBuilder[type](this, field, options);
......
Markdown is supported
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