Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

<ons-input> shows underbar for <input> tag. Can it show like the regular textbox?

  • Hello,

    <ons-input> shows underbar for <input> tag.
    Can it show like a regular html <input> - border around the text box?


  • Onsen UI

    @mmike .text-input--underbar is applying border-bottom: 1px solid #ccc;. Change it to border instead of border-bottom. You can make your own modifier as well:

    .text-input--mymodifier {
      border: 1px solid #ccc;
      color: red;

    And then add it to the input: <ons-input modifier="mymodifier"></ons-input>