diff a/packages/form-field/README.md b/packages/form-field/README.md (rejected hunks) @@ -19,20 +19,21 @@ An element by Forter -| Property | Attribute | Type | Default | Description | -|----------------------|--------------------|--------------------------|---------|--------------------------------------------------| -| `dirty` | `dirty` | `boolean` | false | If the field is dirty | -| `disabled` | `disabled` | `boolean` | false | If the field is disabled | -| `label` | `label` | `string` | | Label of the field | -| `max` | `max` | `number` | | Validate minimum of number value | -| `maxlength` | `maxlength` | `number` | | Validate maxlength of string value | -| `min` | `min` | `number` | | Validate minimum of number value | -| `minlength` | `minlength` | `number` | | Validate minimum length of string value | -| `options` | `options` | `any[]` | | List of all the available values in case of multiple option field such as dropdown or tags. | -| `otherOptionValue` | `otherOptionValue` | `string` | | The additional "other" value in case of fields with multiple options that allow adding custom value | -| `path` | `path` | `string` | | Path of the the field what will be set on the fc-form model (example: "user.firstName", "user.email") | -| `placeholder` | `placeholder` | `string` | | Placeholder in case of input types when no value | -| `renderErrorMessage` | | `"" \| TemplateResult[]` | | | -| `required` | `required` | `boolean` | false | If the field is required | -| `type` | `type` | `string` | | Type of the field - can be existing types such as: text, number, tags, dropdown or name of the type in the 'custom-renderers' object passed to fc-form. | -| `valid` | `valid` | `boolean` | true | Internal Observables | -| `validations` | `validations` | `any[]` | | List of of the validation name to run when value is changed | -| `value` | `value` | `string` | | Setter for single value field | -| `values` | `values` | `any[]` | | Setter for multi values field | +| Property | Attribute | Type | Default | Description | +|----------------------|----------------------|--------------------------|---------|--------------------------------------------------| +| `allowOtherOption` | `allow-other-option` | `string` | | The additional "other" value in case of fields with multiple options that allow adding custom value | +| `dirty` | `dirty` | `boolean` | false | If the field is dirty | +| `disabled` | `disabled` | `boolean` | false | If the field is disabled | +| `label` | `label` | `string` | | Label of the field | +| `max` | `max` | `number` | | Validate minimum of number value | +| `maxlength` | `maxlength` | `number` | | Validate maxlength of string value | +| `min` | `min` | `number` | | Validate minimum of number value | +| `minlength` | `minlength` | `number` | | Validate minimum length of string value | +| `options` | `options` | `any[]` | | List of all the available values in case of multiple option field such as dropdown or tags. | +| `otherOptionValue` | `other-option-value` | `string` | | The additional "other" value in case of fields with multiple options that allow adding custom value | +| `path` | `path` | `string` | | Path of the the field what will be set on the fc-form model (example: "user.firstName", "user.email") | +| `placeholder` | `placeholder` | `string` | | Placeholder in case of input types when no value | +| `renderErrorMessage` | | `"" \| TemplateResult[]` | | | +| `required` | `required` | `boolean` | false | If the field is required | +| `type` | `type` | `string` | | Type of the field - can be existing types such as: text, number, tags, dropdown or name of the type in the 'custom-renderers' object passed to fc-form. | +| `valid` | `valid` | `boolean` | true | Internal Observables | +| `validations` | `validations` | `any[]` | | List of of the validation name to run when value is changed | +| `value` | `value` | `string` | | Setter for single value field | +| `values` | `values` | `any[]` | | Setter for multi values field |