Issue with adding LDAP authentication, continue button stays greyed out

Nextcloud version : 20.0.7
Operating system and version: FreeBSD 12.2 (TrueNAS)
Apache or nginx: nginx
PHP version (eg, 7.4): 7.4

The issue you are facing:
I am unable to add an LDAP server to my nextcloud 20 plugin for TrueNAS. After I fill out the blank fields the “continue” button remains greyed out/unclickable.

Is this the first time you’ve seen this error? Yes

Steps to replicate it:

  1. Enable the LDAP / AD integration app
  2. Navigate to Settings > LDAP / AD integration
  3. Fill out the blank fields

Update: I update the plugin to version 21.0.0 but the issue persists, none of the buttons on the page seem to work, the “continue” button remains greyed out after filling out the required fields.

This bug is about a year old now, found a fix for it here: https://github.com/nextcloud/documentation/pull/2197

Tried implementing it by editing /usr/local/www/nextcloud/index.php, /usr/local/www/nextcloud/updater/index.php, and /usr/local/etc/nginx/nginx.conf but doing so either does nothing or breaks the webpage. Does anybody know which file is referenced in the github link above that the fix is applied to?

Found the correct config file, it is /usr/local/etc/nginx/conf.d/nextcloud.conf
Issue resolved applying the fix documented here: Update nginx.rst -- Reworked the Nginx configs by jivanpal · Pull Request #2197 · nextcloud/documentation · GitHub