"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ui/lib/core/addon/components/form-field.js" between
vault-1.8.1.tar.gz and vault-1.8.2.tar.gz

About: vault is a tool for secrets management, encryption as a service, and privileged access management.

form-field.js  (vault-1.8.1):form-field.js  (vault-1.8.2)
skipping to change at line 21 skipping to change at line 21
* `FormField` components are field elements associated with a particular model. * `FormField` components are field elements associated with a particular model.
* *
* @example * @example
* ```js * ```js
* {{#each @model.fields as |attr|}} * {{#each @model.fields as |attr|}}
* <FormField data-test-field @attr={{attr}} @model={{this.model}} /> * <FormField data-test-field @attr={{attr}} @model={{this.model}} />
* {{/each}} * {{/each}}
* ``` * ```
* *
* @param [onChange=null] {Func} - Called whenever a value on the model changes via the component. * @param [onChange=null] {Func} - Called whenever a value on the model changes via the component.
* @param [onKeyUp=null] {Func} - Called whenever cp-validations is being used a nd you need to validation on keyup. Send name of field and value of input. * @param [onKeyUp=null] {Func} - A function passed through into MaskedInput to handle validation. It is also handled for certain form-field types here in the a ction handleKeyUp.
* @param attr=null {Object} - This is usually derived from ember model `attribu tes` lookup, and all members of `attr.options` are optional. * @param attr=null {Object} - This is usually derived from ember model `attribu tes` lookup, and all members of `attr.options` are optional.
* @param model=null {DS.Model} - The Ember Data model that `attr` is defined on * @param model=null {DS.Model} - The Ember Data model that `attr` is defined on
* @param [disabled=false] {Boolean} - whether the field is disabled * @param [disabled=false] {Boolean} - whether the field is disabled
* @param [showHelpText=true] {Boolean} - whether to show the tooltip with help text from OpenAPI * @param [showHelpText=true] {Boolean} - whether to show the tooltip with help text from OpenAPI
* @param [subText] {String} - Text to be displayed below the label * @param [subText] {String} - Text to be displayed below the label
* @param [validationMessages] {Object} - Object of errors. If attr.name is in object and has error message display in AlertInline. * @param [validationMessages] {Object} - Object of errors. If attr.name is in object and has error message display in AlertInline.
* *
*/ */
export default Component.extend({ export default Component.extend({
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)