gluon/package/gluon-web-model/luasrc/usr/lib/lua/gluon/web
Maciej Krüger 1f451d4021
gluon-web-model: fix issue with warning blocking save on private-wifi
The other bugfix which made this element inherit from AbstractValue
caused AbstractValue:validate() to be inherited aswell

Now added an if so validate only runs if a datatype is set
(since Element is meant as a generic way to extend web-model without
modifying web-model - also to add custom inputs - just hiding it behind an if sounds like a sane solution)
2023-01-28 20:42:52 +01:00
..
model gluon-web-model: fix issue with warning blocking save on private-wifi 2023-01-28 20:42:52 +01:00
model.lua treewide: fix luacheck warnings 2019-06-16 22:51:53 +02:00