Select action: No cases match with number due to strict comparison

OS info

  • Operating System : Windows 10.0.22631
  • Wappler Version : 7.1.2
  • Model : PHP

Problem description

A number from a form is a string.
Converting this string to a number is a float.
Entering a number for a Case value casts it as an integer.

Due to strict comparison, no cases will match:
if ($expression === $case->value)

Fixed in Wappler 7.2.0