From 30be962efeaedc25178a58220544bc960fa45d9e Mon Sep 17 00:00:00 2001 From: Kevin Schweikert Date: Fri, 24 May 2024 10:26:52 +0200 Subject: [PATCH] add color input --- lib/kaffy/resource_form.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/kaffy/resource_form.ex b/lib/kaffy/resource_form.ex index 02538ec..664d31a 100644 --- a/lib/kaffy/resource_form.ex +++ b/lib/kaffy/resource_form.ex @@ -261,6 +261,9 @@ defmodule Kaffy.ResourceForm do :select -> select(form, field, [class: "custom-select"] ++ opts) + :color -> + color_input(form, field, opts) + :date -> flatpickr_date(form, field, opts)