[ 
https://issues.apache.org/jira/browse/NETBEANS-4670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jack J. Woehr closed NETBEANS-4670.
-----------------------------------
    Resolution: Not A Problem

WAD

> PHP: HTML type=number value attribute of input tag flagged as error when 
> value is php expression
> ------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4670
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4670
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Editor, web - HTML Editor
>    Affects Versions: 12.0
>         Environment: Linux xxxxx 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 
> 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
> NAME="Ubuntu"
> VERSION="18.04.4 LTS (Bionic Beaver)"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 18.04.4 LTS"
> VERSION_ID="18.04"
> HOME_URL="https://www.ubuntu.com/";
> SUPPORT_URL="https://help.ubuntu.com/";
> BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
> PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
> VERSION_CODENAME=bionic
> UBUNTU_CODENAME=bionic
> PHP Version 7.1.17-0ubuntu0.17.10.1
>            Reporter: Jack J. Woehr
>            Priority: Minor
>         Attachments: Screenshot from 2020-08-02 12-50-11.png, 
> nb4670-html-hint.png
>
>
> The Editor flags the following as an error:
> {code:java}
> <input class="button" id="ordinal" type="number" name="ordinal" min="1" 
> value="<?php echo ($myEditor->getOrdinal() ? $myEditor->getOrdinal() : 1); 
> ?>"/>{code}
> The error from mouseover text starts:
> {noformat}
> Bad value "   " for attribute "value" on element "input": Expected a minus 
> sign or a digit but saw " " instead.{noformat}
> The code performs correctly, however.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to