Right to left Text HTML input

前端 未结 8 2291
名媛妹妹
名媛妹妹 2020-11-27 18:37

For my website, i need to provide arabic support. Part of it is to provide input textboxes where when user types in, the new characters have to be appended to the left and t

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-27 19:23

    A feature specific to Angular Material, in addition to direction: rtl, is :

    .mat-form-field {
       text-align: start!important;
     }
    

    This will work for both RLT & LTR

提交回复
热议问题