Skip to content

Commit dc624c5

Browse files
committed
fix readOnly for select
1 parent 80cfce6 commit dc624c5

File tree

5 files changed

+29104
-6221
lines changed

5 files changed

+29104
-6221
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
/lib
3+
/build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ JSON schema is an extremely powerful descriptive language and this package while
167167
| generic: description | Description is rendered as part of the label and can be styled differently |
168168
| generic: default | Not supported. Normally a default would be set on the initial value object passed to the form. |
169169
| generic: enum | A string-typed schema with an enum property will be rendered by default as a drop-down list i.e. an HTML select |
170+
| generic: readOnly | If true, the value should not be editable just displayed |
170171
| generic: const | Only implemented as validation: for use in conditionals only. |
171172
| generic: editor | NON-STANDARD. This custom keyword which has no effect on validation allows definition of an editor to be used to render this schema. See Built-in editors below for a list of possibilities. |
172173
| combiner: allOf | A conjoin (see below) is done between the list of subschemas given and the main schema. Validation is also applied |

0 commit comments

Comments
 (0)