Skip to content

Commit

Permalink
Bump version to 2.3.0 and update dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
bhch committed Oct 31, 2022
1 parent fc91cbc commit f0d691b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
5 changes: 5 additions & 0 deletions dist/react-json-form.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2155,6 +2155,11 @@ function FormField(props) {
if (props.schema.maxLength || props.schema.maxLength === 0) inputProps.maxlength = props.schema.maxLength;
break;

case 'fileinput':
InputField = FormFileInput;
if (props.schema.format) inputProps.type = props.schema.format;
break;

case 'range':
case 'integer':
inputProps.step = '1';
Expand Down
2 changes: 1 addition & 1 deletion dist/react-json-form.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/react-json-form.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -2149,6 +2149,11 @@ function FormField(props) {
if (props.schema.maxLength || props.schema.maxLength === 0) inputProps.maxlength = props.schema.maxLength;
break;

case 'fileinput':
InputField = FormFileInput;
if (props.schema.format) inputProps.type = props.schema.format;
break;

case 'range':
case 'integer':
inputProps.step = '1';
Expand Down
5 changes: 5 additions & 0 deletions dist/react-json-form.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -2149,6 +2149,11 @@ function FormField(props) {
if (props.schema.maxLength || props.schema.maxLength === 0) inputProps.maxlength = props.schema.maxLength;
break;

case 'fileinput':
InputField = FormFileInput;
if (props.schema.format) inputProps.type = props.schema.format;
break;

case 'range':
case 'integer':
inputProps.step = '1';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bhch/react-json-form",
"version": "2.2.0",
"version": "2.3.0",
"description": "Create forms using JSON Schema",
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit f0d691b

Please sign in to comment.