How can I change the default username to the drop-down menu I need to modify the logon modification of Yii2?

Source: Internet
Author: User
Use the login registration function provided by Yii2: a new site is developed, but the username field in the old table must be used, make it into this style (using the select2javascript plug-in), then how do I use the User component that comes with hack to convert username...

Use the logon registration function provided by Yii2:
Currently, a new site needs to be developed, but the username must be created using the username field in the old table.

This style (using the select2 javascript plug-in), how can I change the username from the User component that comes with hack to the existing data that I need (the existing data has been converted to json )? I feel that the login registration package provided by yii2 is very good. I feel that there is no way to modify it. I hope some experts can give me some answers. Thank you very much.

Reply content:

Use the logon registration function provided by Yii2:
Currently, a new site needs to be developed, but the username must be created using the username field in the old table.

This style (using the select2 javascript plug-in), how can I change the username from the User component that comes with hack to the existing data that I need (the existing data has been converted to json )? I feel that the login registration package provided by yii2 is very good. I feel that there is no way to modify it. I hope some experts can give me some answers. Thank you very much.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.