Validation on custom property editor when nested content element is closed
Hi,
I have created a custom property editor with multiple fields. The primary field in the property editor is a text field. If the property is marked as required, a value for the text field must be applied.
The validation works basically fine, even if I add the custom property editor on an element i nested content. However if the nested content element is closed/collapsed then my validation function in my angular controller is not running and I'm able save and publish even though no value for the text field i provided.
How can I validate my custom property editor when the nested content element i closed?
Hi Jesper,
I know this is a somewhat old post now, but wondering, did you manage to get around this in the end? If so, do you have any advice as I am looking to tackle a similar situation at the moment...
Validation on custom property editor when nested content element is closed
Hi,
I have created a custom property editor with multiple fields. The primary field in the property editor is a text field. If the property is marked as required, a value for the text field must be applied.
The validation works basically fine, even if I add the custom property editor on an element i nested content. However if the nested content element is closed/collapsed then my validation function in my angular controller is not running and I'm able save and publish even though no value for the text field i provided.
How can I validate my custom property editor when the nested content element i closed?
Hi Jesper, I know this is a somewhat old post now, but wondering, did you manage to get around this in the end? If so, do you have any advice as I am looking to tackle a similar situation at the moment...
Thanks in advance,
Mark
Hi Mark, No I never found a solution for this :-(
That's rather what I expected lol. Might investigate what can be done serverside instead, though I am not sure it's possible in a generic way...
Cheers for the response though!
:-)
is working on a reply...