• Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.4.0-alpha1, 2.4.0
    • None
    • frontend
    • None

      Trying to convert the strings to numbers causes all kinds of funny problems. We should just save them as Strings instead. We should also use input type number so for some input validation consistently.

        This is the controller panel for Smart Panels app

            [OPT-1875] Save targetValue numbers as strings

            I use input with type number for now. It has this weird bug where it resets the value if it is not a valid number when the input loses focus, but I think it is not critical and we gain more value from the number type than if we would use type text. If we at some point decide to go with text inputs, we can create a new ticket for that.

            Sebastian Stamm added a comment - I use input with type number for now. It has this weird bug where it resets the value if it is not a valid number when the input loses focus, but I think it is not critical and we gain more value from the number type than if we would use type text. If we at some point decide to go with text inputs, we can create a new ticket for that.

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: