diff --git a/arches/app/datatypes/url.py b/arches/app/datatypes/url.py index b027d88af2a..e2334c4ff1e 100644 --- a/arches/app/datatypes/url.py +++ b/arches/app/datatypes/url.py @@ -307,8 +307,12 @@ def pre_tile_save(self, tile, nodeid): def clean(self, tile, nodeid): if data := tile.data[nodeid]: try: - if not any([val.strip() for val in data.values()]): - tile.data[nodeid] = None + if not any([data.values()]): + tile.data[nodeid] = None + + if not data["url_label"].strip(): + tile.data[nodeid]["url_label"] = None + except: pass # Let self.validate handle malformed data