Rework Modal/Button components

Created on 18 August 2024, 3 months ago
Updated 4 September 2024, 2 months ago

Problem/Motivation

Modal component should only display Modal markup and not the markup of the button display in the doc.

Proposed resolution

Delete the code related to the button. Maybe improve button component in order to be able to use it with Modal component.

  1. Remove button markup from twig template of modal component and update attributes object
  2. Add new prop (modal_id) to button component and update twig template to display onclick attributes if prop is filled
📌 Task
Status

Fixed

Version

4.0

Component

Code

Created by

🇫🇷France G4MBINI Bègles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024