Closed madeindjs closed 1 month ago
The implementation look promising but I fails to reproduce the video on review environment.
color list
(json array ?)src/ui/core/index.ts to get component definition based on its type
export function getComponentDefinition(type: string)
@FabienArcellier & @ramedina86 , I implemented the changes. Here the new screenshot
Screencast from 2024-07-09 22-10-29.webm
I have a small doubt regarding predifined colors because:
FieldType.Object
since we don't have array field, so we have to check that the JSON is an array and it's not convenient for the user to edit itLet me know what you think about it
Thanks It seems good. An improvement for later would be to add a BuilderFieldsValueList
component which takes inspiration from BuilderFieldsKeyValue
to manipulate a proposal list and provide preformatted Json.
Create a new component
CoreColorInput
using a sub-componentBaseInputColor
.The component accept a list of predefined colors using
datalist
(see doc)Screencast from 2024-07-09 22-10-29.webm