timothyasp / nova-color-field

Simple Laravel Nova Color Picker Field
76 stars 21 forks source link

Cannot copy hex color into field in Nova 4 #17

Open ValCanBuild opened 2 years ago

ValCanBuild commented 2 years ago

I've just updated to Nova 4 and want to keep using this project over Nova's own color field.

One issue I have though, is that I can no longer copy-paste colors into the field. As the gif below shows the field ignores the first copy paste (not populating at all). It accepts the next one but doesn't update the preview color. If I try to save the resource then just white (#ffffff) saves.

CleanShot 2022-08-25 at 10 05 52

Muetze42 commented 2 years ago

Error TypeError: Cannot read properties of undefined (reading 'h')

FrittenKeeZ commented 1 year ago

I'm experiencing the same error Edit: I'm using https://github.com/outl1ne/nova-color-field until this issue is resolved

LorenzoSapora commented 1 year ago

Hit the issue above, but when entering custom hex.