Closed Mytia closed 8 years ago
Yes, the issue there is that your syntax conflicts with the syntax for two-way binding with a convertBack converter:
<input data-link="{cvt:name:cvtBack}" >
I have a parser fix prepared for the next update, but for now you can use any of the following forms to make the ternary statement work without conflict in the current version of the parser:
{:~height ? ~height : 100}
{:~height?~height: 100}
{:~height?~height:100 }
{:(~height?~height:100)}
All of the above make it clear that this is not two-way binding.
BTW the issue is not specific to css-height or css-width at all...
Yes, thanks, the same thing with tag args and params
Correct - they are also fixed in the change I have for the next update...
This has been fixed with update v0.9.72.
See http://jsfiddle.net/y43cs47y/9/ and http://jsfiddle.net/y43cs47y/14/
Little bug here
http://jsfiddle.net/y43cs47y/9/
Error in console. It works if wrap ~height?~height:100 with brackets. The same thing with css-width, maybe with something else...