Skip to content

Commit bc09dac

Browse files
committed
Fixing my missed merge.
2 parents b557f47 + a459a69 commit bc09dac

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/index.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ attribute which should be placed along side `sf-schema`.
192192
| supressPropertyTitles | by default schema form uses the property name in the schema as a title if none is specified, set this to true to disable that behavior |
193193
| formDefaults | an object that will be used as a default for all form definitions |
194194
| validationMessage | an object or a function that will be used as default validation message for all fields. See [Validation Messages](#validation-messages) for details. |
195+
| setSchemaDefaults | boolean, set to false an no defaults from the schema will be set on the model. |
195196
| destroyStrategy | the default strategy to use for cleaning the model when a form element is removed. see [destroyStrategy](#destroyStrategy) below |
196197
197198
*formDefaults* is mostly useful for setting global [ngModelOptions](#ngmodeloptions)
@@ -625,7 +626,7 @@ General options most field types can handle:
625626
onChange: "valueChanged(form.key,modelValue)", // onChange event handler, expression or function
626627
feedback: false, // Inline feedback icons
627628
disableSuccessState: false, // Set true to NOT apply 'has-success' class to a field that was validated successfully
628-
disableErrorState: false, // Set true to NOT apply 'has-error' class to a field that failed validation
629+
disableErrorState: false, // Set true to NOT apply 'has-error' class to a field that failed validation
629630
placeholder: "Input...", // placeholder on inputs and textarea
630631
ngModelOptions: { ... }, // Passed along to ng-model-options
631632
readonly: true, // Same effect as readOnly in schema. Put on a fieldset or array
@@ -874,7 +875,7 @@ They do need a list of ```items``` to have as children.
874875
875876
### select and checkboxes
876877
877-
*select* and *checkboxes* can take an attribute, `titleMap`, wich defines a name
878+
*select* and *checkboxes* can take an attribute, `titleMap`, which defines a name
878879
and a value. The value is bound to the model while the name is used for display.
879880
In the case of *checkboxes* the names of the titleMap can be HTML.
880881
@@ -1580,7 +1581,7 @@ function FormCtrl($scope) {
15801581
"eligible",
15811582
{
15821583
type: "conditional",
1583-
condition: "person.eligible", //or "model.eligable"
1584+
condition: "model.person.eligible",
15841585
items: [
15851586
"code"
15861587
]

0 commit comments

Comments
 (0)