Home > Web Front-end > Layui Tutorial > Detailed explanation of layui radio button not displaying properly and solution

Detailed explanation of layui radio button not displaying properly and solution

coldplay.xixi
Release: 2020-06-13 13:01:50
forward
4934 people have browsed it

Detailed explanation of layui radio button not displaying properly and solution

layui radio button cannot be displayed normally and the solution

When we develop using layui, sometimes Encountered a situation where the radio button cannot be displayed normally

For example:

Detailed explanation of layui radio button not displaying properly and solution

Normal situation

Detailed explanation of layui radio button not displaying properly and solution

I'm not sure about the specific reason

But the solution is to add the following code to the js initialized by layui

form.render();
Copy after login

As shown:

Detailed explanation of layui radio button not displaying properly and solution

Recommended tutorial: "layui framework tutorial"

The above is the detailed content of Detailed explanation of layui radio button not displaying properly and solution. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:liqingbo.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template