Closed (fixed)
Project:
Artisan
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2025 at 17:56 UTC
Updated:
24 Jan 2025 at 15:44 UTC
Jump to comment: Most recent
Problem Statement:
This color field has no select input below like other fields (see capture-1.png)
Clicking on it, 2 select inputs show up ... (see capture-2.png)
| Comment | File | Size | Author |
|---|---|---|---|
| capture-2.png | 9.25 KB | sylvain lavielle | |
| capture-1.png | 19.86 KB | sylvain lavielle |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
simon georges commentedComment #3
sylvain lavielle commentedComment #7
simon georges commentedComment #8
crzdev commentedLooks nice, thanks for the effort, reviewing asap!
Comment #9
sylvain lavielle commentedI noticed a little typo too in code to be fixed up : "numberic" -> "numeric". The typo was there before but I propagated it in the MR code, Sorry. I'll shortly fix this .
Comment #10
crzdev commentedNo worries, we are getting main idea of using "extra widget" definition; that is 100% backwards compatible. Also not sure why under forms & components extra widgets are not appearing. It will be in MR soon.
Comment #11
crzdev commentedIteration ready, same concept as "type", "type_default" & "VALID_TYPES" but with "extra_widget", "extra_widget_default" & "VALID_EXTRA_WIDGETS", also definitions or alterations should be much more flexible & easy to use. Note new method "getDefaultDefinition" to achieve that.
Comment #13
alejandro cabarcos commentedReviewed and tested. Merged on 1.x
Comment #14
alejandro cabarcos commentedComment #15
alejandro cabarcos commentedMoving to fixed.
Thanks Simon and Sylvain for your efforts!
Comment #16
alejandro cabarcos commented