Skip to content

Commit f0d691b

Browse files
committed
Bump version to 2.3.0 and update dist files
1 parent fc91cbc commit f0d691b

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

dist/react-json-form.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2155,6 +2155,11 @@ function FormField(props) {
21552155
if (props.schema.maxLength || props.schema.maxLength === 0) inputProps.maxlength = props.schema.maxLength;
21562156
break;
21572157

2158+
case 'fileinput':
2159+
InputField = FormFileInput;
2160+
if (props.schema.format) inputProps.type = props.schema.format;
2161+
break;
2162+
21582163
case 'range':
21592164
case 'integer':
21602165
inputProps.step = '1';

dist/react-json-form.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-json-form.modern.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,6 +2149,11 @@ function FormField(props) {
21492149
if (props.schema.maxLength || props.schema.maxLength === 0) inputProps.maxlength = props.schema.maxLength;
21502150
break;
21512151

2152+
case 'fileinput':
2153+
InputField = FormFileInput;
2154+
if (props.schema.format) inputProps.type = props.schema.format;
2155+
break;
2156+
21522157
case 'range':
21532158
case 'integer':
21542159
inputProps.step = '1';

dist/react-json-form.module.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,6 +2149,11 @@ function FormField(props) {
21492149
if (props.schema.maxLength || props.schema.maxLength === 0) inputProps.maxlength = props.schema.maxLength;
21502150
break;
21512151

2152+
case 'fileinput':
2153+
InputField = FormFileInput;
2154+
if (props.schema.format) inputProps.type = props.schema.format;
2155+
break;
2156+
21522157
case 'range':
21532158
case 'integer':
21542159
inputProps.step = '1';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bhch/react-json-form",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "Create forms using JSON Schema",
55
"publishConfig": {
66
"access": "public"

0 commit comments

Comments
 (0)