fix: float validation regex (#318)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
This commit is contained in:
parent
1168d1961a
commit
3a14872c7c
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@
|
|||
<span class="invalidFormatText">invalid format</span>
|
||||
<#break>
|
||||
<#case "float">
|
||||
<#if !value?matches("^[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?.") >
|
||||
<#if !value?matches("^[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?") >
|
||||
<img class="invalidFormatImg" src="${urls.base}/images/iconAlert.png" width="18" alt=" ${i18n().invalid_format}" title=" ${i18n().invalid_format}">
|
||||
<span class="invalidFormatText">invalid format</span>
|
||||
</#if>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue