## Steps to reproduce
1. Creating a new note
2. Click the share Button
3. Settin…gs for sharing are empty
### Screenshots

## Server
Please complete the following information.
- Notes app version: 4.11.0
- Nextcloud version: 31
- OS: debian
- Web server: nginx
- PHP version: 8.3.17
- Database:
**Nextcloud configuration:**
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"xyz.123"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.0.18",
"overwrite.cli.url": "https:\/\/xyt.123",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"activity_expire_days": 14,
"auth.bruteforce.protection.enabled": true,
"forbidden_filenames": [
".htaccess",
"Thumbs.db",
"thumbs.db"
],
"cron_log": true,
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\Movie",
"OC\\Preview\\PDF",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\Image",
"OC\\Preview\\HEIC",
"OC\\Preview\\TIFF",
"OC\\Preview\\MKV",
"OC\\Preview\\MP4",
"OC\\Preview\\AVI"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"filesystem_check_changes": 1,
"check_data_directory_permissions": false,
"default_phone_region": "DE",
"default_language": "de",
"default_locale": "de_DE",
"lost_password_link": "disabled",
"filelocking.enabled": "false",
"allow_self_signed": true,
"allow_local_address": true,
"allow_local_remote_servers": true,
"share_folder": "\/Shares",
"htaccess.RewriteBase": "\/",
"integrity.check.disabled": false,
"knowledgebaseenabled": false,
"logfile": "\/var\/\/tmp\/nextcloud.log",
"loglevel": 2,
"logtimezone": "Europe\/Berlin",
"log_rotate_size": 104857600,
"maintenance": false,
"maintenance_window_start": 1,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"overwriteprotocol": "https",
"preview_max_x": 2048,
"preview_max_y": 2048,
"preview_max_scale_factor": 1,
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0
},
"quota_include_external_storage": false,
"skeletondirectory": "\/mnt\/nextclouddata\/benutzer_vorlage",
"theme": "",
"trashbin_retention_obligation": "auto, 7",
"updater.release.channel": "stable",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"app_install_overwrite": [
"groupfolders",
"bruteforcesettings",
"tasks",
"otpmanager",
"news",
"sharelisting",
"files_fulltextsearch_tesseract",
"bookmarks_fulltextsearch",
"fulltextsearch",
"fulltextsearch_elasticsearch",
"files_fulltextsearch",
"maps",
"memories",
"passwords",
"thesearchpage",
"files_downloadactivity",
"onlyoffice"
],
"mail_smtpport": "25",
"mail_smtptimeout": 30,
"mail_smtpauthtype": "NTLM",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [
"Speziale"
],
"remember_login_cookie_lifetime": 0,
"session_lifetime": 900,
"session_keepalive": false,
"auto_logout": true,
"forbidden_filename_characters": [
"<",
">",
":",
"\"",
"|",
"?",
"*",
"\\",
"\/"
],
"forbidden_filename_extensions": [
" ",
".",
".filepart",
".part"
],
"memories.db.triggers.fcu": true,
"memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.gis_type": 1,
"preview_max_memory": 2028,
"preview_max_filesize_image": 512,
"forbidden_filename_basenames": [
"con",
"prn",
"aux",
"nul",
"com0",
"com1",
"com2",
"com3",
"com4",
"com5",
"com6",
"com7",
"com8",
"com9",
"com\u00b9",
"com\u00b2",
"com\u00b3",
"lpt0",
"lpt1",
"lpt2",
"lpt3",
"lpt4",
"lpt5",
"lpt6",
"lpt7",
"lpt8",
"lpt9",
"lpt\u00b9",
"lpt\u00b2",
"lpt\u00b3"
]
}
}
Enabled:
- activity: 4.0.0
- admin_audit: 1.21.0
- bruteforcesettings: 4.0.0
- calendar: 5.1.3
- circles: 31.0.0-dev.0
- cloud_federation_api: 1.14.0
- collectives: 2.16.1
- comments: 1.21.0
- contacts: 7.0.3
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- deck: 1.15.0
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_antivirus: 6.0.0
- files_downloadlimit: 4.0.0
- files_fulltextsearch: 31.0.0
- files_fulltextsearch_tesseract: 27.0.1
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- forms: 5.0.3
- fulltextsearch: 31.0.0
- fulltextsearch_elasticsearch: 31.0.0
- groupfolders: 19.0.3
- integration_mastodon: 3.1.1
- integration_paperless: 1.0.6
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- maps: 1.6.0
- memories: 7.5.2
- news: 25.3.0
- nextcloud_announcements: 3.0.0
- notes: 4.11.0
- notifications: 4.0.0
- notify_push: 1.0.0
- oauth2: 1.19.1
- otpmanager: 0.5.4
- password_policy: 3.0.0
- passwords: 2025.2.20
- photos: 4.0.0-dev.1
- previewgenerator: 5.8.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.6.2
- richdocumentscode: 24.4.1204
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- sharelisting: 1.2.0
- sharereview: 1.3.3
- spreed: 21.0.1
- support: 3.0.0
- systemtags: 1.21.1
- tables: 0.9.0
- tasks: 0.16.1
- text: 5.0.0
- theming: 2.6.1
- thesearchpage: 1.3.0-pre
- twofactor_backupcodes: 1.20.0
- twofactor_totp: 13.0.0-dev.0
- twofactor_webauthn: 2.1.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- app_api: 5.0.2 (installed 3.2.0)
- encryption: 2.19.0
- files_downloadactivity: 1.17.0 (installed 1.17.0)
- files_external: 1.23.0 (installed 1.12.0)
- firstrunwizard: 4.0.0 (installed 2.9.0)
- onlyoffice: 9.7.0 (installed 9.7.0)
- survey_client: 3.0.0 (installed 1.8.0)
- suspicious_login: 9.0.1
- twofactor_nextcloud_notification: 5.0.0
- user_ldap: 1.22.0
## Client
Please complete the following information.
- Browser (incl. version): Chrome, FireFox
- OS: Win11 Pro