Disabled a value that cannot be entered cannot be passed to the action layer

Time:2020-2-7

If you want the form to be in a state that cannot be entered, I set the form to:

Copy code

The code is as follows:

style=”cursor:not-allowed;” disabled

However, after this setting, it is found that there is no way to get the value for the action in the background. Finally, I searched the Internet and said to replace the disabled with readonly. After the replacement, I can really pass the value to the background, but the form can get the focus. It’s uncomfortable to get the focus. But the project is tight, so we have to do it first.

When the form is set to disabled, the value cannot be passed to the background

Recommended Today

Golang influxdb basic operation

Infixdb basic operation Basic operation connect [[email protected] ~]# influx -precision rfc3339 Connected to http://localhost:8086 version 1.8.0 InfluxDB shell version: 1.8.0 > precisionThe parameter indicates the format and precision of any returned timestamp. In the above example,rfc3339Yes, let influxdb returnRFC339Timestamp of format (yyyy-mm-ddthh: mm: SS. Nnnnnnnz). validate logon > auth username: icms password: [email protected] Operation database […]