Skip to content
Snippets Groups Projects

Improve dynamic placeholder implementation

Merged oury.balde requested to merge topic/18.0/ob into branch/18.0
  1. Jan 30, 2025
    • oury.balde's avatar
      Improve dynamic placeholder implementation · 8898d80c
      oury.balde authored
      - Rename fields/methods for clarity:
        * dynamic_placeholder_button_hidden -> hide_placeholder_button
        * _compute_dynamic_placeholder_button_hidden -> _compute_hide_placeholder_button
      - Restructure JS components:
        * Replace dynamic_placeholder_charfield_patch with new component-based implementation
        * Add proper prop handling and converter type awareness
      - Add onchange handler to clear value when converter changes
      - Refactor placeholder computation using dictionary mapping
      - Update XML views with new field names and component parameters
      - Improve mimetype.py documentation and default handling
      8898d80c
Loading