-
-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
type: bugA problem that should not be happeningA problem that should not be happening
Description
What e107 version are you using?
Latest Github version (just updated)
Bug description
In this commit, you add displaying page count in reading mode:
It looks like this:
it is set this way:
'chapter_page_count' => array('title'=> 'CUSLAN_87', 'type' => 'number', 'data'=>false, 'width' => '5%', 'readonly'=>TRUE, 'thclass'=>'center', 'class'=>'page-count center'),
Notice: 'data'=>false, 'readonly'=>TRUE,
But in edit mode you are able to edit it. I know it is not saved but there is no way how to explain this field to users.
How to reproduce
- go to chapters
- edit chapter
Expected behavior
With the combination of 'data'=>false, and 'readonly'=>TRUE, (both) not display this field in edit mode
What browser(s) are you seeing the problem on?
Chrome / Brave
PHP Version
8.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugA problem that should not be happeningA problem that should not be happening