This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 1 month, 2 weeks ago.

Material Floating Label Overlapping if data is there from ng-model


  • anees715
    Participant

    Posts: 2
    Member Reply #10414

    Hello.,

    I’m using the material design template with angular js. The floating label is not pushing up when data comes from ng-model and it is overlapping the data. How to fix this issue?

    Screenshot: http://imgur.com/hfTo5Sc

    Sean
    Sean
    Keymaster

    Posts: 3755
    Support Staff Reply #10424

    Hi,

    In order to change the input state you should add “edited” class to the input as shown below:

    “form-control edited”

    Thus the input state will be changed to edited mode similarly when users types on the input.

    Thanks.

Tagged: 

You must be logged in to reply to this topic.