bug: MenuslugField separator option uses wrong property key #99

Closed
opened 2026-05-22 03:30:33 +00:00 by jmiller · 1 comment
Owner

Description

The visual separator option in MenuslugField.php:70-74 uses 'disable' => true but Joomla's select helper expects 'disabled' => true. The separator renders as a selectable empty-value option.

Fix

Change 'disable' to 'disabled' in the separator option object.

Files

  • src/src/Field/MenuslugField.php:70-74
## Description The visual separator option in `MenuslugField.php:70-74` uses `'disable' => true` but Joomla's select helper expects `'disabled' => true`. The separator renders as a selectable empty-value option. ## Fix Change `'disable'` to `'disabled'` in the separator option object. ## Files - `src/src/Field/MenuslugField.php:70-74`
jmiller added the joomlapriority: mediumbug labels 2026-05-22 03:30:33 +00:00
Author
Owner

Testing Steps -- MenuslugField separator disabled property

Setup

  1. Install plugin on Joomla 5.x

Test

  1. Go to System > Plugins > MokoJoomTOS
  2. Click the slug dropdown field
  3. Look for the visual separator lines between menu type groups
  4. Try to click/select a separator line
  5. Expected: Separator lines are grayed out and not selectable
  6. Previously they were selectable and stored an empty string

Pass criteria

  • Separator lines render between menu type groups
  • Separator lines cannot be selected
## Testing Steps -- MenuslugField separator disabled property ### Setup 1. Install plugin on Joomla 5.x ### Test 1. Go to **System > Plugins > MokoJoomTOS** 2. Click the slug dropdown field 3. Look for the visual separator lines between menu type groups 4. Try to click/select a separator line 5. **Expected:** Separator lines are grayed out and not selectable 6. Previously they were selectable and stored an empty string ### Pass criteria - [ ] Separator lines render between menu type groups - [ ] Separator lines cannot be selected
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomTOS#99