Wappler Version : 2.9.0
Operating System : Mac OSX Catalina v10.15.3
Experimental: Switched on
Null check doesn’t work on numbers (from any component - var, serverconnect, datastore etc).
<dmx-value id="var_number" dmx-bind:value="0"></dmx-value>
<dmx-value id="var_number_is_null" dmx-bind:value="var_number.value ? "NOT NULL" : "NULL""></dmx-value>
<p >Var_number_is_null - {{var_number_is_null.value}}</p>
(works fine on text & boolean)
<dmx-value id="var_text" dmx-bind:value="'"something"'"></dmx-value>
<dmx-value id="var_text_is_null" dmx-bind:value="var_text.value ? "NOT NULL" : "NULL""></dmx-value>
<p>Var_text_is_null - {{var_text_is_null.value}}</p>
<dmx-value id="var_boolean" dmx-bind:value="true"></dmx-value>
<dmx-value id="var_boolean_is_null" dmx-bind:value="var_boolean.value ? "NOT NULL" : "NULL""></dmx-value>
<p>Var_boolean_is_null - {{var_boolean_is_null.value}}</p>
Community Page
Last updated:
Last updated: