X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fbootstrap%2Fform%2FInput.js;fp=Roo%2Fbootstrap%2FInput.js;h=7fdabc35f61c8c5722301e460461b9e9ff067ac7;hp=1100f8e86691cbf5b39179afec090f582ecefe2e;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f diff --git a/Roo/bootstrap/Input.js b/Roo/bootstrap/form/Input.js similarity index 98% rename from Roo/bootstrap/Input.js rename to Roo/bootstrap/form/Input.js index 1100f8e866..7fdabc35f6 100644 --- a/Roo/bootstrap/Input.js +++ b/Roo/bootstrap/form/Input.js @@ -6,15 +6,15 @@ */ /** - * @class Roo.bootstrap.Input + * @class Roo.bootstrap.form.Input * @extends Roo.bootstrap.Component * Bootstrap Input class * @cfg {Boolean} disabled is it disabled - * @cfg {String} (button|checkbox|email|file|hidden|image|number|password|radio|range|reset|search|submit|text) inputType + * @cfg {String} inputType (button|checkbox|email|file|hidden|image|number|password|radio|range|reset|search|submit|text) * @cfg {String} name name of the input * @cfg {string} fieldLabel - the label associated * @cfg {string} placeholder - placeholder to put in text. - * @cfg {string} before - input group add on before + * @cfg {string} before - input group add on before * @cfg {string} after - input group add on after * @cfg {string} size - (lg|sm) or leave empty.. * @cfg {Number} xs colspan out of 12 for mobile-sized screens @@ -34,7 +34,8 @@ * @cfg {String} capture (user|camera) use for file input only. (default empty) * @cfg {String} accept (image|video|audio) use for file input only. (default empty) * @cfg {Boolean} preventMark Do not show tick or cross if error/success - + * @cfg {Roo.bootstrap.Button} before Button to show before + * @cfg {Roo.bootstrap.Button} afterButton to show before * @cfg {String} align (left|center|right) Default left * @cfg {Boolean} forceFeedback (true|false) Default false * @@ -43,9 +44,9 @@ * @param {Object} config The config object */ -Roo.bootstrap.Input = function(config){ +Roo.bootstrap.form.Input = function(config){ - Roo.bootstrap.Input.superclass.constructor.call(this, config); + Roo.bootstrap.form.Input.superclass.constructor.call(this, config); this.addEvents({ /** @@ -106,7 +107,7 @@ Roo.bootstrap.Input = function(config){ }); }; -Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, { +Roo.extend(Roo.bootstrap.form.Input, Roo.bootstrap.Component, { /** * @cfg {String/Boolean} validationEvent The event that should initiate field validation. Set to false to disable automatic validation (defaults to "keyup").