Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-232

PropertyOptions.allowedValues has no effect

    XMLWordPrintable

Details

    • d2c0d37e421552dc86419651bb33ff64dda6283a

    Description

      The following example should yield an error a la "value three is not allowed in property foo".

      Product {
          property var foo: "three"
          PropertyOptions {
              name: "foo"
              allowedValues: ["one", "two"]
          }
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            arch Ivan Komissarov
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes