https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162015-09-02T15:53:50ZpfSense bugtrackerBootstrap - Bug #5069: system_authservers.php - "Type" value cleared on savehttps://redmine.pfsense.org/issues/5069?journal_id=202982015-09-02T15:53:50ZJim Pingle
<ul></ul><p>Same thing happens to the Descriptive Name field with LDAP... Save and the name and type both go blank. Probably since the form fields are disabled.</p>
<p>IIRC in cases like this in the past some code would re-enable disabled fields when clicking save before POST so the fields would still be submitted.</p> Bootstrap - Bug #5069: system_authservers.php - "Type" value cleared on savehttps://redmine.pfsense.org/issues/5069?journal_id=203032015-09-02T16:06:27ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Feedback</i></li><li><strong>Assignee</strong> changed from <i>Anonymous</i> to <i>Jim Pingle</i></li></ul><p>Inputs should be readonly, not disabled when not required. Disabling prevents them from being submitted and breaks the form.</p> Bootstrap - Bug #5069: system_authservers.php - "Type" value cleared on savehttps://redmine.pfsense.org/issues/5069?journal_id=203262015-09-03T10:30:04ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Assigned</i></li><li><strong>Assignee</strong> changed from <i>Jim Pingle</i> to <i>Anonymous</i></li></ul><p>The save behavior is OK but there is a weird display issue with the "Type" drop-down, it still renders as a drop-down but with the other choice disabled. So it's good in that you can't change it, but it still appears as though it's enabled and able to be changed.</p>
<p>Current behavior is fine, if the look can't be changed this can just be closed.</p> Bootstrap - Bug #5069: system_authservers.php - "Type" value cleared on savehttps://redmine.pfsense.org/issues/5069?journal_id=203442015-09-03T11:42:14ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>Assignee</strong> changed from <i>Anonymous</i> to <i>Jim Pingle</i></li></ul><p>This is a bootstrap oddity. "<select>"s don't support the readonly attribute so you have to disable them. Disabling prevents them being submitted in the form, however. The solution is to disable the options, but not the select.</p>
<p>There have been many complaints about this and it is expected to be addressed in a future release.</p> Bootstrap - Bug #5069: system_authservers.php - "Type" value cleared on savehttps://redmine.pfsense.org/issues/5069?journal_id=203482015-09-03T11:50:30ZJim Pingle
<ul></ul><p>OK. In the 2.2.x the value was presented as plain text when editing, rather than any sort of entry control. That may be something else to consider if they don't fix it.</p>