[FIX] base: RNG validate text attribute for field (url)

The UrlWidget supports a text attribute to define the text of the <a> tag, but the text attribute wasn't supported in the RNG of the field.
Thus it wasn't possible to use it in tree views. However it already worked fine in form views because those are not RNG validated.

PR: none
Task: none
This commit is contained in:
Sébastien Theys
2018-08-29 23:22:33 +02:00
parent 9f9ba96013
commit 9441a1f5e1
+1
View File
@@ -259,6 +259,7 @@
<rng:optional><rng:attribute name="avatar_field" /></rng:optional>
<rng:optional><rng:attribute name="write_model" /></rng:optional>
<rng:optional><rng:attribute name="write_field" /></rng:optional>
<rng:optional><rng:attribute name="text" /></rng:optional>
<rng:optional>
<rng:attribute name="force_save">
<rng:choice>