Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/validation_error_placement #853

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
### Unreleased

- added option `max_depth` used to specify the maximum depth of level's schema that have to be rendered
- added option `use_default_values` used to specify if default values based on the "type" of the property have to be used
- when `use_default_values` is false, number and integer fields have undefined value when input is empty
- when `use_default_values` is false, string fields have undefined value at the beginning. After that user edit the field, empty input is threated as an empty string
- added option `validation_error_placement` to change position of errors logs under each field

### 2.5.1

- Fix for #837 and chekboxes not displaying error messages #843
Expand All @@ -12,10 +18,6 @@

### 2.4.0

- added option `max_depth` used to specify the maximum depth of level's schema that have to be rendered
- added option `use_default_values` used to specify if default values based on the "type" of the property have to be used
- when `use_default_values` is false, number and integer fields have undefined value when input is empty
- when `use_default_values` is false, string fields have undefined value at the beginning. After that user edit the field, empty input is threated as an empty string
- Fixed using multiple dependencies for an editor. Fix #703
- Evaluate all dependencies for an editor to determine visibility
- Fixed meta-schema usage
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,11 @@ Here are all the available options:
<td>If true default values based on the "type" of the property will be used</td>
<td><code>true</code></td>
</tr>
<tr>
<td>validation_error_placement</td>
<td>Change position where errors are shown. Values are oneOf['grouped', 'below_field']</td>
<td><code>grouped</code></td>
Danielecina marked this conversation as resolved.
Show resolved Hide resolved
</tr>
</tbody>
</table>

Expand Down