CMS MADE SIMPLE FORGE

LISE

 

[#12681] Title Display Mode:readonly - bug - can't save new items

avatar
Created By: Chris Taylor (chrisbt)
Date Submitted: Thu Jan 11 08:42:01 -0500 2024

Assigned To: Fernando Morgado (JoMorg)
Version: 1.5.6
CMSMS Version: 2.2.18
Severity: Minor
Resolution: Accepted
State: Open
Summary:
Title Display Mode:readonly - bug - can't save new items
Detailed Description:
to recreate:
create new LISE item & save
Error message: Item title is empty

issue: 
the auto-generated title is not submitted with the form as the disabled
attribute is set (apparently it's in the spec!)

fix:
in edititem.tpl line 69 remove 'disabled' - readonly does the job :)

<input class="cms_textfield" name="{$actionid}title"
id="{$actionid}title" value="{$title}" size="50" maxlength="255" type="text"
readonly>


History

Comments
avatar
Date: 2024-01-11 10:31
Posted By: Fernando Morgado (JoMorg)

thanks! will fix it before next release! 
      
Updates

Updated: 2024-01-11 10:31
resolution_id: => 6