Skip to content

[Bug]: Create templates with fields is shown even if fields have no title #50262

@XueSheng-GIT

Description

@XueSheng-GIT

⚠️ This issue respects the following points: ⚠️

Bug description

Create template with fields has been introduced with:

If a new file is created based on a template with formula fields (e.g. checkboxes), just a list with toggles is shown. I use quite a lot of checkboxes for some templates. Thus, the users see long lists of toggles without knowing what to do. This is just confusing.

Image

I didn't find a way to disable this feature (globally or template specific). I suggest to enable this feature only, if a field has a title set. Otherwise, you will never know what to enter within this request form.

Image

Test has been done on NC 30.0.5 and Richdocuments 8.5.3, CODE 24.04.11.3

Steps to reproduce

  1. Create a odt file and add checkboxes to it.
  2. Move that odt file to the templates folder
  3. Create a new odt file and select the newly created template
  4. The request form will appear and ask to fill in the form

Expected behavior

Only fields should be shown which include a "title".

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 28.0.1 to 28.0.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

CC @elzody because she's working on the implementation of the original feature.

Metadata

Metadata

Assignees

Labels

0. Needs triagePending check for reproducibility or if it fits our roadmap30-feedbackbug

Type

No type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions