Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-1083

Allow @Property works without a value

    Details

    • Type: Feature Request
    • Status: Coding In Progress (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0.2.Final
    • Fix Version/s: master
    • Component/s: ErraiUI
    • Labels:
      None

      Description

      There are several html5 attributes like selected, checked and disabled, which do not require value. it could be easily implementedwith a small fix and with no additional side effects.

      @Element("input")
      @Properties({
              @Property(name = "disabled"),
              @Property(name = "value",value = "InputElementDisabled")
      })
      @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "HTMLInputElement")
      public interface InputElementDisabled {
      }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                treblereel Dmitrii Tikhomirov
                Reporter:
                treblereel Dmitrii Tikhomirov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: