-
Notifications
You must be signed in to change notification settings - Fork 25
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
The non required fields of the document editor should support default values. #1119
Labels
bug
Breaks something but is not blocking
enhancement
Improvement of an existing feature
f: editor
Concerns editor based on JSON schema AND custom editor
Milestone
Comments
Other editor bugs improvements:
|
7 tasks
7 tasks
jma
added a commit
to jma/ng-core
that referenced
this issue
Oct 28, 2020
* Sets ngx-formly to restore default value when a field is shown. * Removes useless reset value as it is now done by formly. * Needs to hide/show field onPopulate in a next event loop statement. * Adds a new hide wrapper as `hideExpression` does not keep the value in the form the model. * Closes rero/rero-ils#1119. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
6 tasks
jma
added a commit
to jma/ng-core
that referenced
this issue
Oct 28, 2020
* Sets ngx-formly to restore default value when a field is shown. * Removes useless reset value as it is now done by formly. * Needs to hide/show field onPopulate in a next event loop statement. * Adds a new hide wrapper as `hideExpression` does not keep the value in the form the model. * Closes rero/rero-ils#1119. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
jma
added a commit
to jma/ng-core
that referenced
this issue
Oct 29, 2020
* Sets ngx-formly to restore default value when a field is shown. * Removes useless reset value as it is now done by formly. * Needs to hide/show field onPopulate in a next event loop statement. * Adds a new hide wrapper as `hideExpression` does not keep the value in the form the model. * Closes rero/rero-ils#1119. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
jma
added a commit
to jma/ng-core
that referenced
this issue
Oct 30, 2020
* Sets ngx-formly to restore default value when a field is shown. * Removes useless reset value as it is now done by formly. * Needs to hide/show field onPopulate in a next event loop statement. * Adds a new hide wrapper as `hideExpression` does not keep the value in the form the model. * Closes rero/rero-ils#1119. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
jma
added a commit
to rero/ng-core
that referenced
this issue
Nov 2, 2020
* Sets ngx-formly to restore default value when a field is shown. * Removes useless reset value as it is now done by formly. * Needs to hide/show field onPopulate in a next event loop statement. * Adds a new hide wrapper as `hideExpression` does not keep the value in the form the model. * Closes rero/rero-ils#1119. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
jma
added a commit
to jma/rero-ils
that referenced
this issue
Nov 2, 2020
* Updates JSONSchema to add default values for the editor. * Changes the way to hide a field in the editor. * Closes rero#1119. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
jma
added a commit
to jma/rero-ils
that referenced
this issue
Nov 2, 2020
* Updates JSONSchema to add default values for the editor. * Changes the way to hide a field in the editor. * Closes rero#1119. * Upgrades lxml and cryptography dependencies for security reasons. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
jma
added a commit
that referenced
this issue
Nov 2, 2020
* Updates JSONSchema to add default values for the editor. * Changes the way to hide a field in the editor. * Closes #1119. * Upgrades lxml and cryptography dependencies for security reasons. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Breaks something but is not blocking
enhancement
Improvement of an existing feature
f: editor
Concerns editor based on JSON schema AND custom editor
How it works
Currently in the document editor, only required fields (displayed by default when opening the editor) integrate default values. When another field is added manually, it does not have default values.
Improvement suggestion
When a field is added manually, it should be able to integrate default values.
The text was updated successfully, but these errors were encountered: