Skip to content
Snippets Groups Projects
Unverified Commit 1f451d40 authored by Maciej Krüger's avatar Maciej Krüger
Browse files

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)
parent 03fe3d4a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment