Skip to content
Snippets Groups Projects
Commit c6e7b93c authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Apply 4 suggestion(s) to 1 file(s)

parent 9c2d9866
No related branches found
No related tags found
1 merge request!37prepare release v0.3.1
......@@ -335,6 +335,7 @@ var form_elements = new function () {
* parameter which is an entity in HTML representation.
* @param {boolean} [multiple] - whether the select allows multiple
* options to be selected.
* @param {string} name - the name of the select element
* @returns {HTMLElement} SELECT element with entity options.
*/
this.make_reference_select = async function (entities, make_desc,
......@@ -428,7 +429,7 @@ var form_elements = new function () {
}
/**
* Call a server-side script with the content a the given form and
* Call a server-side script with the content of the given form and
* return the results.
*
* Note that the form should be one generated by this form_elements
......@@ -872,7 +873,7 @@ var form_elements = new function () {
* Create a form.
*
* The returned element is a container which contains a HTML form element.
* The fields are ready or the will emit a {@link field_ready_event} when
* The fields are ready or they will emit a {@link field_ready_event} when
* they are.
*
* @param {FormConfig} config
......@@ -1548,6 +1549,10 @@ var form_elements = new function () {
*
* @param {object} config - config object with `name`, `type` and
* optional `label`
* @param {string} input - optional specification of the HTML input element.
* `<input class="form-control caosdb-f-property-single-raw-value" type="' + type + '" name="' + name + '" />`
* is used as default where `name` and `type` stem from the config
* object.
* @returns {HTMLElement} a form field.
*/
this._make_input = function (config, input) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment