My installation is a Drupal 6.14 up to date, and Hierarchical Select module snapshot is 6.x-3.x-dev (2009-Sep-25) .

Field HS Configuration:
Cache in a HTML 5 client-side database: is enabled.

$config = array(
  'config_id'       => 'taxonomy-4',
  'save_lineage'    => 0,
  'enforce_deepest' => 1,
  'entity_count'    => 0,
  'require_entity'  => ,
  'resizable'       => 0,
  'level_labels' => array(
    'status' => 0,
    'labels' => array(
      0 => '',
    ),
  ),
  'dropbox' => array(
    'status'    => 1,
    'title'     => 'All selections',
    'limit'     => 3,
    'reset_hs'  => 1,
  ),
  'editability' => array(
    'status' => 0,
    'item_types' => array(
      0 => '',
    ),
    'allowed_levels' => array(
      0 => 1,
    ),
    'allow_new_levels' => 0,
    'max_levels'       => 0,
  ),
);

When you reach maximal number of items, it notifies and siplays message correctly, but select box stills enabled so you can continue adding items...

I've attached a screenshot.

CommentFileSizeAuthor
hs-limit.png13.76 KBNosfe

Comments

wim leers’s picture

Title: select stills enabled when limit reached » Selects still enabled when dropbox limit reached
Assigned: Unassigned » wim leers
Priority: Normal » Minor
Status: Active » Postponed (maintainer needs more info)

Does this also happen when the HTML 5 client-side database cache is disabled?

Nosfe’s picture

Yes! I tried it also, sorry for not commenting before!!

Nosfe’s picture

Status: Postponed (maintainer needs more info) » Active
wim leers’s picture

Reproduced.

wim leers’s picture

Status: Active » Fixed

Also, the add button should remain disabled. Fixed that too.

- D6: http://drupal.org/cvs?commit=281976
- D5: http://drupal.org/cvs?commit=281978

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.