Skip to content

Commit 51bec20

Browse files
committed
Try to fix table rendering - README
1 parent d017506 commit 51bec20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ email, urls etc by using different configurations and validators
176176

177177
In order to create an input field in the form, along with the label, and any applicable validation,
178178
there are several attributes that will be added to the different types of fields namely:
179-
| Attribute | Type | Default | Required |Description |
179+
180+
| Attribute | Type | Default | Required | Description |
180181
|-----------|-------|---------|-------------|----------|
181182
| `attribute` | `String` | `null` | `true` | This will form the key in the form value Map |
182183
| `initialValue` | `dynamic` | `null` | `false` | The initial value of the input field |
@@ -253,7 +254,7 @@ FormBuilderTextField(
253254
validators: [
254255
FormBuilderValidators.required(),
255256
(val){
256-
if(val != "Yes")
257+
if(val.toLowerCase() != "yes")
257258
return "The answer must be Yes";
258259
},
259260
],

0 commit comments

Comments
 (0)