-
Notifications
You must be signed in to change notification settings - Fork 11
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
Improve and correct the document editor #230
Comments
Due to some limitations in the editor, some points cannot be covered. Particularly the handling of default values for properties. To summarize the behavior of setting a default value for a field, when we set a default value, the field has to be displayed in the form (required). Otherwise some data are arbitrarily posted and validation may fail. Hide title type English by default for language Classification Language is required Add field degree to deposit form ProvisionActivity |
I think we can put a default value |
Improve document editor by making some changes on fields, listed below. * Adds CSS class `editor-title` to display a block for each main fields. * Makes field `title.type` not editable and place it after the value. * Removes type `bf:Local` for `contribution` field. * Makes field `classification.type` not editable and place it after the value. * Shows value when a `subtitle` field is added. * Makes `language` field required and `language.type` readonly. * Makes `partof` field required when document type is a contribution to journal. * Makes `organisation` field required. * Makes `provisionActivity` field required depending on document type, instead of hiding it. * Closes #230. Co-Authored-by: Sébastien Délèze <[email protected]>
contribution
, there is a type bf:Local that belongs to field identifiedBy (must be removed)classification
, the type must be entered twice, which is not correctvalue
should be displayed automaticallylanguage
should be required. The language type can be hidden (one value possible only)degree
to deposit form (not mandatory) for all thesis. This fields contains subfields:grantingInstitution
anddate
(type string)partOf
field required.organisation
should be requiredThe text was updated successfully, but these errors were encountered: