aesmail / kaffy

Powerfully simple admin package for phoenix applications
https://kaffy.fly.dev/admin/
MIT License
1.3k stars 153 forks source link

[BUG] readonly also not working with dropdown fields #292

Closed roryfahy closed 9 months ago

roryfahy commented 9 months ago

Versions Used Kaffy: {:kaffy, "~> 0.10.rc.2"} Phoenix: 1.7 Elixir: 1.15.3

What's actually happening? Thank you very much for fixing the :readonly issue with datetime type fields #282 . I should have reported this more clearly in the previous issue I opened but the issue also occurs with dropdown selection fields.

What should happen instead? they should also be readonly if configured so

Screenshots image image

aesmail commented 9 months ago

@roryfahy thanks for reporting these issues. They're making Kaffy better and more inline with what is expected out of it. I'll make sure this is solved before v0.10 final.