Changes custom interface names pattern

Fixes #1463
This commit is contained in:
Simone Mainardi 2017-09-27 12:15:58 +02:00
parent e224ce548b
commit 9222fbd4b9

View file

@ -1160,7 +1160,7 @@ elseif(page == "config") then
local label = getInterfaceNameAlias(ifstats.name)
inline_input_form("custom_name", "Custom Name",
i18n("if_stats_config.custom_name_popup_msg"),
label, isAdministrator(), 'autocorrect="off" spellcheck="false" pattern="^[_\\-a-zA-Z0-9\\. ]*$"')
label, isAdministrator(), 'autocorrect="off" spellcheck="false"')
print[[
</td>
</tr>]]