Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. evan
    E
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    evan

    @evan

    0
    Reputation
    1
    Posts
    514
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    evan Follow

    Posts made by evan

    • ons-input onchange handler

      I know we can use regular <input type=text> elements, but with 2.0’s autostyling, it’s preferrable to use ons-input. The problem is that ons-input doesn’t seem to do anything to attached html event handlers to the <input> field it creates.

      I’d like to be able to do:

      <ons-input ... onChange=...></ons-input>
      

      but instead if have to add more code that will locate the dynamically created <input> element and add my event handlers to it. Are there any plans in 2.0 to add support for onClick/onChange/onInput… handlers to ons-input as well as add a property to set and get the values via ons-input attributes rather than having to dig down to the input tag after it’s created?

      posted in Onsen UI
      E
      evan